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

Which Hadoop course should I take?
Take apache spark and scala course . Spark is high on demand now and one of the highly efficient and heavily used bigdata tools in market.I do provide Apache spark with scala and python course . You can reach me out for more details
Profile Photo
Srinivasan
0 0
View Comments6
Hi, currently I am working as php developer having 5 year of experience, I want to change the technology, so can any one suggest me which technology is better for me and in future also (hadoop or node with angular js).
Big Data is cake for data processing whereas Angular is for UI framework. I would recommend you to consider learning Big Data technologies.
Profile Photo
Srikanth
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.
Profile Photo
Ajay

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

Ask a Question

Related Lessons

BigDATA HADOOP Infrastructure & Services: Basic Concept
Hadoop Cluster & Processes What is Hadoop Cluster? Hadoop cluster is the collections of one or more than one Linux Boxes. In a Hadoop cluster there should be a single Master(Linux machine/box) machine...
Profile Photo

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

Hadoop Development Syllabus
Hadoop 2 Development with Spark Big Data Introduction: What is Big Data Evolution of Big Data Benefits of Big Data Operational vs Analytical Big Data Need for Big Data Analytics Big...
Profile Photo

Lesson: Hive Queries
Lesson: Hive Queries This lesson will cover the following topics: Simple selects ? selecting columns Simple selects – selecting rows Creating new columns Hive Functions In SQL, of which...
Profile Photo

Solving the issue of Namenode not starting during Single Node Hadoop installation
On firing jps command, if you see that name node is not running during single node hadoop installation , then here are the steps to get Name Node running Problem: namenode not getting started Solution:...
B

Biswanath Banerjee

1 0
View Comments0

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