You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kevin W Monroe (JIRA)" <ji...@apache.org> on 2016/06/06 20:22:21 UTC

[jira] [Updated] (BIGTOP-2472) zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR

     [ https://issues.apache.org/jira/browse/BIGTOP-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin W Monroe updated BIGTOP-2472:
-----------------------------------
    Description: 
When deploying the zeppelin-server role, zeppelin fails to start because of:

{noformat}
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)
{noformat}

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:

{code}
$ dpkg -S /var/run/zeppelin/webapps/
zeppelin: /var/run/zeppelin/webapps
{code}
We just need the default zeppelin template to use it.  PR incoming.

  was:
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.


> zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR
> -----------------------------------------------------------
>
>                 Key: BIGTOP-2472
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2472
>             Project: Bigtop
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.1.0
>            Reporter: Kevin W Monroe
>            Assignee: Kevin W Monroe
>
> When deploying the zeppelin-server role, zeppelin fails to start because of:
> {noformat}
> 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)
> {noformat}
> 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:
> {code}
> $ dpkg -S /var/run/zeppelin/webapps/
> zeppelin: /var/run/zeppelin/webapps
> {code}
> We just need the default zeppelin template to use it.  PR incoming.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)