You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2017/04/19 13:26:41 UTC

[jira] [Created] (OOZIE-2868) Oozie server cannot start if the oozie user does not have permission on oozie.jsp.tmp.dir

Attila Sasvari created OOZIE-2868:
-------------------------------------

             Summary: Oozie server cannot start if the oozie user does not have permission on oozie.jsp.tmp.dir
                 Key: OOZIE-2868
                 URL: https://issues.apache.org/jira/browse/OOZIE-2868
             Project: Oozie
          Issue Type: Bug
            Reporter: Attila Sasvari


Oozie fails to start if the directory used for jsp classes is not writable by the oozie user 
{noformat}
java.lang.IllegalStateException: Failed to delete temp dir /tmp/embedded-jetty-jsp
        at org.eclipse.jetty.webapp.WebInfConfiguration.configureTempDirectory(WebInfConfiguration.java:376)
        at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:275)
        at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:69)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:483)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:519)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:361)
        at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:448)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.server.Server.start(Server.java:411)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:378)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.apache.oozie.server.EmbeddedOozieServer.start(EmbeddedOozieServer.java:189)
        at org.apache.oozie.server.EmbeddedOozieServer.main(EmbeddedOozieServer.java:215)
{noformat}

It would be better to print out a proper error message and exit if we detect Oozie has insufficient permission on the directory pointed by {{oozie.jsp.tmp.dir}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)