Official Docker Image for Apache Zeppelin 0.7.2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Official Docker Image for Apache Zeppelin 0.7.2

Park Hoon
Hi, users. 

A few months ago the community started to create official docker image for Zeppelin. As of 0.7.2, release process includes building docker image. Thus, every release can ship its own docker image.

You can test the docker image for 0.7.2 with this command.

docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2

or you can set docker volume options to persist notebooks and logs like

docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.7.2

And here are few links which might be helpful 


Since this is an initial version, it might include some bugs or be not easy to configure some options. 

Hope that we can improve the docker file and deliver flexible images to the community for various environments and use cases.

Thanks.


FYI, if you are having trouble with access localhost:8080, try to clear browser caches like

Inline image 1
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Official Docker Image for Apache Zeppelin 0.7.2

Mark Miller
Thanks, this is working pretty well for me on Ubuntu 16.  I can execute all of the spark, python and R code in the tutorial.

I can't run the pig tutorial, but I assume that's because the docker container doesn't include a hadoop environment.

I can't run the mahout code either, which surprised me.  I thought the "convenience paragraphs" were included to pull any required dependencies.

<div id="gmail-20160927-162237_1864782562_paragraphColumn" src="&#39;app/notebook/paragraph/paragraph.html?v=1496974691584&#39;" class="gmail-ng-scope gmail-paragraph-space gmail-box gmail-paragraph-margin" style="box-sizing:border-box;border-style:solid;min-height:30px;background-image:initial;background-position:initial;background-repeat:initial;background-color:rgb(255,255,255);border-color:rgb(229,229,229);border-width:1px 1px 2px;border-radius:3px;margin-right:2px;margin-left:2px;padding:10px;margin-bottom:5px">
<div class="gmail-tableDisplay gmail-ng-scope" src="&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
python: can't open file '../scripts/mahout/add_mahout.py': [Errno 2] No such file or directory
<div class="gmail-tableDisplay gmail-ng-scope" src="&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
<div src="&#39;app/notebook/paragraph/result/result-chart-selector.html?v=1496974691584&#39;" class="gmail-ng-scope" style="box-sizing:border-box">

<div id="gmail-20160927-172629_1189436716_paragraphColumn" src="&#39;app/notebook/paragraph/paragraph.html?v=1496974691584&#39;" class="gmail-ng-scope gmail-paragraph-space gmail-box gmail-paragraph-margin gmail-focused" style="box-sizing:border-box;border-style:solid;min-height:30px;background-image:initial;background-position:initial;background-repeat:initial;background-color:rgb(255,255,255);border-color:white;border-width:1px 1px 2px;border-radius:3px;margin-right:2px;margin-left:2px;padding:10px;margin-bottom:5px">
<div src="&#39;app/notebook/paragraph/paragraph-parameterizedQueryForm.html?v=1496974691584&#39;" class="gmail-ng-scope" style="box-sizing:border-box">
<div class="gmail-tableDisplay gmail-ng-scope" src="&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
<div src="&#39;app/notebook/paragraph/result/result-chart-selector.html?v=1496974691584&#39;" class="gmail-ng-scope" style="box-sizing:border-box">
python: can't open file 'scripts/mahout/add_mahout_interpreters.py': [Errno 2] No such file or directory


On Fri, Jun 16, 2017 at 1:22 AM, Park Hoon <[hidden email]> wrote:
Hi, users. 

A few months ago the community started to create official docker image for Zeppelin. As of 0.7.2, release process includes building docker image. Thus, every release can ship its own docker image.

You can test the docker image for 0.7.2 with this command.

docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2

or you can set docker volume options to persist notebooks and logs like

docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.7.2

And here are few links which might be helpful 


Since this is an initial version, it might include some bugs or be not easy to configure some options. 

Hope that we can improve the docker file and deliver flexible images to the community for various environments and use cases.

Thanks.


FYI, if you are having trouble with access localhost:8080, try to clear browser caches like

Inline image 1

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Official Docker Image for Apache Zeppelin 0.7.2

Park Hoon
Thanks for all feedbacks. @Mark Miller, @moon soo Lee


I created an umbrella ticker that collects docker image related issues.

- https://issues.apache.org/jira/browse/ZEPPELIN-2667

We might track all problems regarding official images using the ticket. 


Thanks.


On Mon, Jun 19, 2017 at 5:27 AM, Mark Miller <[hidden email]> wrote:
Thanks, this is working pretty well for me on Ubuntu 16.  I can execute all of the spark, python and R code in the tutorial.

I can't run the pig tutorial, but I assume that's because the docker container doesn't include a hadoop environment.

I can't run the mahout code either, which surprised me.  I thought the "convenience paragraphs" were included to pull any required dependencies.

<div id="m_8226845925786594006gmail-20160927-162237_1864782562_paragraphColumn" src="https://ci6.googleusercontent.com/proxy/0uam2AQaurRro4hpb40JSJhaCp9LehzKZxrk8meJF3faigWFhGMQ7Iruv9LZzN5-2cXqaWxLmdNsLXRd8gXr6E4ewzh9PcfKYorDnLgEjimJ_N_1=s0-d-e1-ft#http://&#39;app/notebook/paragraph/paragraph.html?v=1496974691584&#39;" class="m_8226845925786594006gmail-ng-scope m_8226845925786594006gmail-paragraph-space m_8226845925786594006gmail-box m_8226845925786594006gmail-paragraph-margin" style="box-sizing:border-box;border-style:solid;min-height:30px;background-image:initial;background-position:initial;background-repeat:initial;background-color:rgb(255,255,255);border-color:rgb(229,229,229);border-width:1px 1px 2px;border-radius:3px;margin-right:2px;margin-left:2px;padding:10px;margin-bottom:5px">
<div class="m_8226845925786594006gmail-tableDisplay m_8226845925786594006gmail-ng-scope" src="https://ci6.googleusercontent.com/proxy/45x0-JqUcsVTFvJU7mLILb89cCZVpluhOs3Sc0oeZ9KRPT2mPaHW6HkNtPPIyKjNu4T8C1ME5URLM3a3JHei3bw9xp5lf2FEHJp4mPqpqN_eLG8Qz9e7OQ=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
python: can't open file '../scripts/mahout/add_mahout.py': [Errno 2] No such file or directory
<div class="m_8226845925786594006gmail-tableDisplay m_8226845925786594006gmail-ng-scope" src="https://ci6.googleusercontent.com/proxy/45x0-JqUcsVTFvJU7mLILb89cCZVpluhOs3Sc0oeZ9KRPT2mPaHW6HkNtPPIyKjNu4T8C1ME5URLM3a3JHei3bw9xp5lf2FEHJp4mPqpqN_eLG8Qz9e7OQ=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
<div src="https://ci5.googleusercontent.com/proxy/EmVYooxwgDO3ml1BGYOkdwK7XLGplZ5mAaKM5vczpjxWI6d57i4EM6nVaVXRWwp8LPKInYcKllSm7wNdB5CDCPqDflmjZH5jv-YZVRy77MKe3TBKYVyyFEQUTIc_vEaMtSVst6fqTw=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result-chart-selector.html?v=1496974691584&#39;" class="m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box">

<div id="m_8226845925786594006gmail-20160927-172629_1189436716_paragraphColumn" src="https://ci6.googleusercontent.com/proxy/0uam2AQaurRro4hpb40JSJhaCp9LehzKZxrk8meJF3faigWFhGMQ7Iruv9LZzN5-2cXqaWxLmdNsLXRd8gXr6E4ewzh9PcfKYorDnLgEjimJ_N_1=s0-d-e1-ft#http://&#39;app/notebook/paragraph/paragraph.html?v=1496974691584&#39;" class="m_8226845925786594006gmail-ng-scope m_8226845925786594006gmail-paragraph-space m_8226845925786594006gmail-box m_8226845925786594006gmail-paragraph-margin m_8226845925786594006gmail-focused" style="box-sizing:border-box;border-style:solid;min-height:30px;background-image:initial;background-position:initial;background-repeat:initial;background-color:rgb(255,255,255);border-color:white;border-width:1px 1px 2px;border-radius:3px;margin-right:2px;margin-left:2px;padding:10px;margin-bottom:5px">
<div src="https://ci4.googleusercontent.com/proxy/_19HpssU3znSbAprYs7U_qR7Q5VZE_kpzSRVVqFDMfQVj1wnB2jsbnGd6VoxCtC8utS5uKc6O6RpGX3ew8cD6J6EUgJm0RI0fbEPsT3EEQrvRNw1GBKWr_-SUgS9WaIaavnGVX6THoS8xDg=s0-d-e1-ft#http://&#39;app/notebook/paragraph/paragraph-parameterizedQueryForm.html?v=1496974691584&#39;" class="m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box"><form id="m_8226845925786594006gmail-20160927-172629_1189436716_form" class="m_8226845925786594006gmail-paragraphForm m_8226845925786594006gmail-form-horizontal m_8226845925786594006gmail-row m_8226845925786594006gmail-ng-pristine m_8226845925786594006gmail-ng-valid m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box" target="_blank" onsubmit="try {return window.confirm(&quot;You are submitting information to an external page.\nAre you sure?&quot;);} catch (e) {return false;}">
<div class="m_8226845925786594006gmail-tableDisplay m_8226845925786594006gmail-ng-scope" src="https://ci6.googleusercontent.com/proxy/45x0-JqUcsVTFvJU7mLILb89cCZVpluhOs3Sc0oeZ9KRPT2mPaHW6HkNtPPIyKjNu4T8C1ME5URLM3a3JHei3bw9xp5lf2FEHJp4mPqpqN_eLG8Qz9e7OQ=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
<div src="https://ci5.googleusercontent.com/proxy/EmVYooxwgDO3ml1BGYOkdwK7XLGplZ5mAaKM5vczpjxWI6d57i4EM6nVaVXRWwp8LPKInYcKllSm7wNdB5CDCPqDflmjZH5jv-YZVRy77MKe3TBKYVyyFEQUTIc_vEaMtSVst6fqTw=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result-chart-selector.html?v=1496974691584&#39;" class="m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box">
python: can't open file 'scripts/mahout/add_mahout_interpreters.py': [Errno 2] No such file or directory


On Fri, Jun 16, 2017 at 1:22 AM, Park Hoon <[hidden email]> wrote:
Hi, users. 

A few months ago the community started to create official docker image for Zeppelin. As of 0.7.2, release process includes building docker image. Thus, every release can ship its own docker image.

You can test the docker image for 0.7.2 with this command.

docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2

or you can set docker volume options to persist notebooks and logs like

docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.7.2

And here are few links which might be helpful 


Since this is an initial version, it might include some bugs or be not easy to configure some options. 

Hope that we can improve the docker file and deliver flexible images to the community for various environments and use cases.

Thanks.


FYI, if you are having trouble with access localhost:8080, try to clear browser caches like

Inline image 1


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Official Docker Image for Apache Zeppelin 0.7.2

김영우 (YoungWoo Kim)-2
Hi,


Evans Ye (chair of Bigtop PMC), He has done a lot of work to dockerize the bigdata stack based on Bigtop stack and of cause, Zeppelin is a component of the stack.
It's my humble idea and even I have not tried yet.

Thanks,
Youngwoo

On Mon, Jun 19, 2017 at 4:30 PM, Park Hoon <[hidden email]> wrote:
Thanks for all feedbacks. @Mark Miller, @moon soo Lee


I created an umbrella ticker that collects docker image related issues.

- https://issues.apache.org/jira/browse/ZEPPELIN-2667

We might track all problems regarding official images using the ticket. 


Thanks.


On Mon, Jun 19, 2017 at 5:27 AM, Mark Miller <[hidden email]> wrote:
Thanks, this is working pretty well for me on Ubuntu 16.  I can execute all of the spark, python and R code in the tutorial.

I can't run the pig tutorial, but I assume that's because the docker container doesn't include a hadoop environment.

I can't run the mahout code either, which surprised me.  I thought the "convenience paragraphs" were included to pull any required dependencies.

<div id="m_-5028972119371501313m_8226845925786594006gmail-20160927-162237_1864782562_paragraphColumn" src="https://ci6.googleusercontent.com/proxy/0uam2AQaurRro4hpb40JSJhaCp9LehzKZxrk8meJF3faigWFhGMQ7Iruv9LZzN5-2cXqaWxLmdNsLXRd8gXr6E4ewzh9PcfKYorDnLgEjimJ_N_1=s0-d-e1-ft#http://&#39;app/notebook/paragraph/paragraph.html?v=1496974691584&#39;" class="m_-5028972119371501313m_8226845925786594006gmail-ng-scope m_-5028972119371501313m_8226845925786594006gmail-paragraph-space m_-5028972119371501313m_8226845925786594006gmail-box m_-5028972119371501313m_8226845925786594006gmail-paragraph-margin" style="box-sizing:border-box;border-style:solid;min-height:30px;background-image:initial;background-position:initial;background-repeat:initial;background-color:rgb(255,255,255);border-color:rgb(229,229,229);border-width:1px 1px 2px;border-radius:3px;margin-right:2px;margin-left:2px;padding:10px;margin-bottom:5px">
<div class="m_-5028972119371501313m_8226845925786594006gmail-tableDisplay m_-5028972119371501313m_8226845925786594006gmail-ng-scope" src="https://ci6.googleusercontent.com/proxy/45x0-JqUcsVTFvJU7mLILb89cCZVpluhOs3Sc0oeZ9KRPT2mPaHW6HkNtPPIyKjNu4T8C1ME5URLM3a3JHei3bw9xp5lf2FEHJp4mPqpqN_eLG8Qz9e7OQ=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
python: can't open file '../scripts/mahout/add_mahout.py': [Errno 2] No such file or directory
<div class="m_-5028972119371501313m_8226845925786594006gmail-tableDisplay m_-5028972119371501313m_8226845925786594006gmail-ng-scope" src="https://ci6.googleusercontent.com/proxy/45x0-JqUcsVTFvJU7mLILb89cCZVpluhOs3Sc0oeZ9KRPT2mPaHW6HkNtPPIyKjNu4T8C1ME5URLM3a3JHei3bw9xp5lf2FEHJp4mPqpqN_eLG8Qz9e7OQ=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
<div src="https://ci5.googleusercontent.com/proxy/EmVYooxwgDO3ml1BGYOkdwK7XLGplZ5mAaKM5vczpjxWI6d57i4EM6nVaVXRWwp8LPKInYcKllSm7wNdB5CDCPqDflmjZH5jv-YZVRy77MKe3TBKYVyyFEQUTIc_vEaMtSVst6fqTw=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result-chart-selector.html?v=1496974691584&#39;" class="m_-5028972119371501313m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box">

<div id="m_-5028972119371501313m_8226845925786594006gmail-20160927-172629_1189436716_paragraphColumn" src="https://ci6.googleusercontent.com/proxy/0uam2AQaurRro4hpb40JSJhaCp9LehzKZxrk8meJF3faigWFhGMQ7Iruv9LZzN5-2cXqaWxLmdNsLXRd8gXr6E4ewzh9PcfKYorDnLgEjimJ_N_1=s0-d-e1-ft#http://&#39;app/notebook/paragraph/paragraph.html?v=1496974691584&#39;" class="m_-5028972119371501313m_8226845925786594006gmail-ng-scope m_-5028972119371501313m_8226845925786594006gmail-paragraph-space m_-5028972119371501313m_8226845925786594006gmail-box m_-5028972119371501313m_8226845925786594006gmail-paragraph-margin m_-5028972119371501313m_8226845925786594006gmail-focused" style="box-sizing:border-box;border-style:solid;min-height:30px;background-image:initial;background-position:initial;background-repeat:initial;background-color:rgb(255,255,255);border-color:white;border-width:1px 1px 2px;border-radius:3px;margin-right:2px;margin-left:2px;padding:10px;margin-bottom:5px">
<div src="https://ci4.googleusercontent.com/proxy/_19HpssU3znSbAprYs7U_qR7Q5VZE_kpzSRVVqFDMfQVj1wnB2jsbnGd6VoxCtC8utS5uKc6O6RpGX3ew8cD6J6EUgJm0RI0fbEPsT3EEQrvRNw1GBKWr_-SUgS9WaIaavnGVX6THoS8xDg=s0-d-e1-ft#http://&#39;app/notebook/paragraph/paragraph-parameterizedQueryForm.html?v=1496974691584&#39;" class="m_-5028972119371501313m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box"><form id="m_-5028972119371501313m_8226845925786594006gmail-20160927-172629_1189436716_form" class="m_-5028972119371501313m_8226845925786594006gmail-paragraphForm m_-5028972119371501313m_8226845925786594006gmail-form-horizontal m_-5028972119371501313m_8226845925786594006gmail-row m_-5028972119371501313m_8226845925786594006gmail-ng-pristine m_-5028972119371501313m_8226845925786594006gmail-ng-valid m_-5028972119371501313m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box" target="_blank" onsubmit="try {return window.confirm(&quot;You are submitting information to an external page.\nAre you sure?&quot;);} catch (e) {return false;}">
<div class="m_-5028972119371501313m_8226845925786594006gmail-tableDisplay m_-5028972119371501313m_8226845925786594006gmail-ng-scope" src="https://ci6.googleusercontent.com/proxy/45x0-JqUcsVTFvJU7mLILb89cCZVpluhOs3Sc0oeZ9KRPT2mPaHW6HkNtPPIyKjNu4T8C1ME5URLM3a3JHei3bw9xp5lf2FEHJp4mPqpqN_eLG8Qz9e7OQ=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result.html?v=1496974691584&#39;" style="box-sizing:border-box;margin-top:2px">
<div src="https://ci5.googleusercontent.com/proxy/EmVYooxwgDO3ml1BGYOkdwK7XLGplZ5mAaKM5vczpjxWI6d57i4EM6nVaVXRWwp8LPKInYcKllSm7wNdB5CDCPqDflmjZH5jv-YZVRy77MKe3TBKYVyyFEQUTIc_vEaMtSVst6fqTw=s0-d-e1-ft#http://&#39;app/notebook/paragraph/result/result-chart-selector.html?v=1496974691584&#39;" class="m_-5028972119371501313m_8226845925786594006gmail-ng-scope" style="box-sizing:border-box">
python: can't open file 'scripts/mahout/add_mahout_interpreters.py': [Errno 2] No such file or directory


On Fri, Jun 16, 2017 at 1:22 AM, Park Hoon <[hidden email]> wrote:
Hi, users. 

A few months ago the community started to create official docker image for Zeppelin. As of 0.7.2, release process includes building docker image. Thus, every release can ship its own docker image.

You can test the docker image for 0.7.2 with this command.

docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2

or you can set docker volume options to persist notebooks and logs like

docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.7.2

And here are few links which might be helpful 


Since this is an initial version, it might include some bugs or be not easy to configure some options. 

Hope that we can improve the docker file and deliver flexible images to the community for various environments and use cases.

Thanks.


FYI, if you are having trouble with access localhost:8080, try to clear browser caches like

Inline image 1



Loading...