How do I build a data science platform with Apache Spark and Zeppelin?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Devops/cloud Engineer

Apache Spark provides a lot of valuable tools for data science Data scientists use data exploration and visualization to help frame the question and fine tune the learning. Apache Zeppelin helps with this. Based on the concept of an interpreter that can be bound to any language or data processing...
read more
Apache Spark provides a lot of valuable tools for data science Data scientists use data exploration and visualization to help frame the question and fine tune the learning. Apache Zeppelin helps with this. Based on the concept of an interpreter that can be bound to any language or data processing backend, Zeppelin is a web based notebook server. As one of its backends, Zeppelin implements Spark, and other implementations, such as Hive, Markdown, D3 etc., are also available. One of the powerful features of Zeppelin Notebook is that you can view the result set of the previous section within the same framework. Zeppelin’s display system plugs into standard output. Any string that is outputted to standard output via println can be intercepted by Zeppelin’s display system if it is followed first by the interpreter command say %table, or %img, or %html etc. In our case, we would like to output the count of logs by log level as a table, so we use the following snippet of code: import org.apache.spark.sql.Row val result=sqlContext.sql("SELECT level, COUNT(1) from ambari group by level").map { case Row(level: String, count: Long) => { level + "t" + count } }.collect() This assembles the output of the groupby into a format that is suitable for the table interpreter to render. %table requires the rows each to be separated by “n” (next line) and columns to be separated by “t” (tab) characters respectively, as below: println("%table Log LeveltCountn" + result.mkString("n")) read less
Comments

Related Questions

how much time will take to learn Big data development course and what are the prerequisites
weekdays 4 weeks and weekend 5 weeks.it is 30 hours duration
Venkat
Can anyone suggest about Hadoop?
Hadoop is good but it depends on your experience. If you don't know basic java, linux, shell scripting. Hadoop is not beneficial for you.
Ajay
How many nodes can be there in a single hadoop cluster?
A single Hadoop cluster can have **thousands of nodes**, depending on hardware and configuration.
Tahir
0 0
7

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Up, Up And Up of Hadoop's Future
The onset of Digital Architectures in enterprise businesses implies the ability to drive continuous online interactions with global consumers/customers/clients or patients. The goal is not just to provide...

How Big Data Hadoop and its importance for an enterprise?
In IT phrasing, Big Data is characterized as a collection of data sets (Hadoop), which are so mind boggling and large that the data cannot be easily captured, stored, searched, shared, analyzed or visualized...

Understanding Big Data
Introduction to Big Data This blog is about Big Data, its meaning, and applications prevalent currently in the industry.It’s an accepted fact that Big Data has taken the world by storm and has become...
M

Mymirror

0 0
0

Lets look at Apache Spark's Competitors. Who are the top Competitors to Apache Spark today.
Apache Spark is the most popular open source product today to work with Big Data. More and more Big Data developers are using Spark to generate solutions for Big Data problems. It is the de-facto standard...
B

Biswanath Banerjee

1 0
0

Hadoop v/s Spark
1. Introduction to Apache Spark: It is a framework for performing general data analytics on distributed computing cluster like Hadoop.It provides in memory computations for increase speed and data process...

Recommended Articles

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Big data is a phrase which is used to describe a very large amount of structured (or unstructured) data. This data is so “big” that it gets problematic to be handled using conventional database techniques and software.  A Big Data Scientist is a business employee who is responsible for handling and statistically evaluating...

Read full article >

We have already discussed why and how “Big Data” is all set to revolutionize our lives, professions and the way we communicate. Data is growing by leaps and bounds. The Walmart database handles over 2.6 petabytes of massive data from several million customer transactions every hour. Facebook database, similarly handles...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Find Hadoop near you

Looking for Hadoop ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you