Currently, we are using 0.04.1 for Zeppelin. If you have not run Docker yet, please run it first. Please refer to Docker in Local OS (For Spark 2.0 or Jupyter/Zeppelin Notebook) for more details.
Please check the actual IP assigned to the container. For example in OSX:
192.168.99.100
is assigned IP address.
Then, start actual container, for example in OSX:
You can use shared folder between your local OS and the virtual environment on Docker.
This shared folder can be used to get data from your local and/or to save data without losing it after you exit/destroy your virtual environment.
Use -v
option to make shared folder from an existing local folder and a folder in virtual environment:
You should use absolute path for vm_folder
, but it does not need to be an existing folder. For example, if want to use ~/Data/
in my local OS as shared folder connected with /sample_data/
in VM, I can start a container as following:
If you have not started Zeppelin service,
We need to create a HDFS folder for the user zeppelin
as:
You can check whether it has been created or not by using:
Once you have started Zeppelin service and have created HDFS folder for Zeppelin, you can access Zeppelin Notebook by using your local web browser.
Open your web browser, and type in the address:
host-ip:port-for-zeppelin
For example,
192.168.99.100:8889
since the IP address assigned to my Docker container is 192.168.99.100
as it is shown above, and the port number assigned to Zeppelin service is 8889
as default in our Docker image.
Once you navigate to that IP address with the port number, you will see the front page of Zeppelin like:
Let's move to do a simple tutorial in the next section.