Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
Description
When deploying the zeppelin-server role, zeppelin fails to start because of:
Exception in thread "main" java.lang.IllegalArgumentException: Bad temp directory: /usr/lib/zeppelin/webapps at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:1119) at org.apache.zeppelin.server.ZeppelinServer.setupWebAppContext(ZeppelinServer.java:249) at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:99)
The default zeppelin-env.sh template does not expose a webapps dir, so the system defaults to /usr/lib/zeppelin/webapps (which does not exist). This causes the zeppelin service to fail on startup.
The zeppelin deb package does create a webapps dir:
$ dpkg -S /var/run/zeppelin/webapps/ zeppelin: /var/run/zeppelin/webapps
We just need the default zeppelin template to use it. PR incoming.
Attachments
Issue Links
- links to