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

Hi everyone, What is Hadoop /bigdata and what is required qualification and work experience background for Hadoop/bigdata?
Hadoop is the core platform for structuring Big Data, and solves the problem of formatting it for subsequent analytics purposes. Hadoop uses a distributed computing architecture consisting of multiple...
Priya
Which is easy to learn for a fresher Hadoop or cloud computing?
Hadoop is completely easy . You can learn Hadoop along with other ecosystem also . If you need any support then feel free contact me on this . i can help you to lean Hadoop in very simple manner .
Praveen
0 0
5
A friend of mine asked me which would be better, a course on Java or a course on big data or Hadoop. All I could manage was a blank stare. Do you have any ideas?
A course is bigdata will be more better. But honestly as a freshers getting a job in big data is little difficult. So my suggestion will be do a course on both java and bigdata, apply for job and what...
Srikumar
0 0
5
How do I switch from QA to Big Data Hadoop while having little knowledge of Java?
yes.for big data java basic knowledge is helpfull
Jogendra
0 0
6
What are the Hadoop Technologies that are hot in the market right now?
Hive ,Spark,Scala,Cassandra,Kafka,Flink ,Machine Learning
Pankaj
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

Best way to learn any software Course
Hi First conform whether you are learning from a real time consultant. Get some Case Studies from the consultant and try to complete with the help of google not with consultant. Because in real time same situation will arise. Thank you

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

Why is the Hadoop essential?
Capacity to store and process large measures of any information, rapidly. With information volumes and assortments always expanding, particularly from web-based life and the Internet of Things (IoT), that...

Design Pattern
Prototype Design Pattern: Ø Prototype pattern refers to creating duplicate object while keeping performance in mind. Ø This pattern involves implementing a prototype interface which tells...

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