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

Should Cloudera or MapR be used for Hadoop distribution?
Cloudera is preferred as MapR is discontinued and Cloudera offers strong support and integration.
Chandra
0 0
5
Is an mba persuing student eligible for persuing hadoop course?
Yes there are some institutes are offering courses on big data . Those are like MBA in analytics. Google it you will find more info
Osheen
0 0
9
Hi... I am working as linux admin from last 2 yr. Now I want to peruse my career in Big Data hadoop. Please let me know what are opportunities for me and is my experience considerable and what are the challenges.
Hi Vinay, My friend moved from Linux admin to Handoop admin role with very good jump in his career. Definitely it is good move to jump to Hadoop from Linux Admin. Linux Admin market is tough as many...
Vinay Buram
What does the term "data locality" mean in Hadoop?
Data locality in Hadoop refers to the practice of processing data on the same node where it is stored, reducing network traffic and improving performance.
Sabna
0 0
5

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

Ask a Question

Related Lessons

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

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...

Linux File System
Linux File system: Right click on Desktop and click open interminal Login to Linux system and run simple commands: Check present Working Directory: $pwd /home/cloudera/Desktop Change Directory: $cd...

How can you recover from a NameNode failure in Hadoop cluster?
How can you recover from a Namenode failure in Hadoop?Why is Namenode so important?Namenode is the most important Hadoop service. It contains the location of all blocks in the cluster. It maintains the...
B

Biswanath Banerjee

0 0
0

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

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 >

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