epugh opened a new pull request #3709: ZEPPELIN-4711 Fix Docker Permissions
URL: https://github.com/apache/zeppelin/pull/3709
 
 
   ### What is this PR for?
   Fix permissions in the Docker build of Zeppelin 0.9.0-preview1
   
   
   ### What type of PR is it?
   Bug Fix
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/ZEPPELIN-4711
   
   ### How should this be tested?
   Tested before and after by running the ./bin/install-interpreter.sh script:
   
   ## Without Patch
   ➜  zeppelin-solr-o19s git:(upgrade-zeppelin-0.9.0-preview) ✗ docker exec 
zeppelin-090_zeppelin_1 ./bin/install-interpreter.sh --name solr --artifact 
com.lucidworks.zeppelin:zeppelin-solr:0.1.6
   OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support 
was removed in 8.0
    WARN [2020-03-31 17:07:56,968] ({main} 
ZeppelinConfiguration.java[create]:159) - Failed to load configuration, 
proceeding with a default
    INFO [2020-03-31 17:07:57,048] ({main} 
ZeppelinConfiguration.java[create]:171) - Server Host: 0.0.0.0
    INFO [2020-03-31 17:07:57,048] ({main} 
ZeppelinConfiguration.java[create]:173) - Server Port: 8080
    INFO [2020-03-31 17:07:57,049] ({main} 
ZeppelinConfiguration.java[create]:177) - Context Path: /
    INFO [2020-03-31 17:07:57,049] ({main} 
ZeppelinConfiguration.java[create]:178) - Zeppelin Version: 0.9.0-preview1
   Install solr(com.lucidworks.zeppelin:zeppelin-solr:0.1.6) to 
/zeppelin/interpreter/solr ... 
   java.io.IOException: Destination '/zeppelin/interpreter/solr' directory 
cannot be created
        at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1085)
        at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)
        at 
org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:98)
        at 
org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:85)
        at 
org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:170)
        at 
org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:148)
        at 
org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:276)
   
   ## With Patch
   docker exec zeppelin-090_zeppelin_1 ./bin/install-interpreter.sh --name solr 
--artifact com.lucidworks.zeppelin:zeppelin-solr:0.1.6
   
   ➜  zeppelin-solr-o19s git:(upgrade-zeppelin-0.9.0-preview) ✗ docker exec 
zeppelin-090_zeppelin_1 ./bin/install-interpreter.sh --name solr --artifact 
com.lucidworks.zeppelin:zeppelin-solr:0.1.6
   OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support 
was removed in 8.0
    WARN [2020-03-31 17:21:20,635] ({main} 
ZeppelinConfiguration.java[create]:159) - Failed to load configuration, 
proceeding with a default
    INFO [2020-03-31 17:21:20,718] ({main} 
ZeppelinConfiguration.java[create]:171) - Server Host: 0.0.0.0
    INFO [2020-03-31 17:21:20,718] ({main} 
ZeppelinConfiguration.java[create]:173) - Server Port: 8080
    INFO [2020-03-31 17:21:20,718] ({main} 
ZeppelinConfiguration.java[create]:177) - Context Path: /
    INFO [2020-03-31 17:21:20,718] ({main} 
ZeppelinConfiguration.java[create]:178) - Zeppelin Version: 0.9.0-preview1
   Install solr(com.lucidworks.zeppelin:zeppelin-solr:0.1.6) to 
/zeppelin/interpreter/solr ... 
   Interpreter solr installed under /zeppelin/interpreter/solr.
   
   1. Restart Zeppelin
   2. Create interpreter setting in 'Interpreter' menu on Zeppelin GUI
   3. Then you can bind the interpreter on your note
   
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to