|
| 1 | +--- |
| 2 | +title: Loading sample data using Apache Zeppelin |
| 3 | +description: You will use Apache Zeppelin to create table and load sample data from files already created in HDFS in SAP HANA Vora, developer edition, on CAL. |
| 4 | +tags: [ tutorial>beginner, topic>big-data, products>sap-hana-vora ] |
| 5 | +--- |
| 6 | +## Prerequisites |
| 7 | + - **Proficiency:** Beginner |
| 8 | + - **Tutorials:** [Connect to SAP HANA Vora, developer edition](http://go.sap.com/developer/tutorials/vora-connect.html) |
| 9 | + |
| 10 | +## Next Steps |
| 11 | + - Getting started with SAP HANA Vora Tools (coming soon), or |
| 12 | + - Select a tutorial from the [Tutorial Navigator](http://go.sap.com/developer/tutorial-navigator.html) or the [Tutorial Catalog](http://go.sap.com/developer/tutorials.html) |
| 13 | + |
| 14 | +## Details |
| 15 | +### You will learn |
| 16 | +You will learn how to open Apache Zeppelin and how to load sample data. |
| 17 | + |
| 18 | +### Time to Complete |
| 19 | +**10 Min**. |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +1. Apache Zeppelin is a web-based notebook that enables interactive data analytics. It is Apache Licensed open-source software. |
| 24 | + |
| 25 | + You can make beautiful data-driven, interactive and collaborative documents using variety of languages. Its interpreter concept allows any language/data-processing-backend to be plugged into Zeppelin. |
| 26 | + |
| 27 | + SAP HANA Vora provides its own `%vora` interpreter, which allows Spark/Vora features to be used from Zeppelin. Zeppelin allows queries to be written directly in Spark SQL (that is, without the need for any Scala, Python, or R glue code). |
| 28 | + |
| 29 | +2. SAP HANA Vora, developer edition, on CAL comes with Apache Zeppelin pre-installed. Similar to opening Apache Ambari to open Zeppelin web UI click on **Connect** in your SAP HANA Vora instance in CAL, and then pick **Open** a link for `Application: Zeppelin`. |
| 30 | + |
| 31 | + >The port of Zeppelin web UI has been preconfigured for you in the SAP HANA Vora, developer edition, in CAL. As well its port has been opened as one of the default **Access Points**. As you might remember it translates into the appropriate _inbound rule_ in the corresponding AWS's security group. |
| 32 | +
|
| 33 | +  |
| 34 | + |
| 35 | +3. Once Zeppelin opens up in a new browser window, click on `0_DemoData` notebook. |
| 36 | + |
| 37 | +  |
| 38 | + |
| 39 | +4. The `0_DemoData` notebook will open up. Now you can click on **Run all paragraphs** button on top of the page to create tables in SAP HANA Vora using data from the existing HDFS files preloaded on the instance in CAL. These are the tables you will need as well later in exercises. |
| 40 | + |
| 41 | + A new window will pop up which asks you to confirm running all the commands. Click on **OK**. |
| 42 | + |
| 43 | +  |
| 44 | + |
| 45 | +5. After all statements are finished you should see the interpreter’s comment as "Command processed successfully with no results" for all paragraphs. |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | + The last statement should show you all tables created. |
| 50 | + |
| 51 | +  |
| 52 | + |
| 53 | +## Next Steps |
| 54 | + - Getting started with SAP HANA Vora Tools (coming soon), or |
| 55 | + - Select a tutorial from the [Tutorial Navigator](http://go.sap.com/developer/tutorial-navigator.html) or the [Tutorial Catalog](http://go.sap.com/developer/tutorials.html) |
0 commit comments