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

Gordon Wang updated OOZIE-2008:
-------------------------------
    Summary: When oozie war is not setup, oozie service fails to start  (was: 
When oozie war is not setup, oozie service start fails)

> When oozie war is not setup, oozie service fails to start
> ---------------------------------------------------------
>
>                 Key: OOZIE-2008
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2008
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Gordon Wang
>
> When I start Oozie service without setting up Oozie war file, the oozied.sh 
> fails.
> Check the source code further. I think it is a bug in oozied.sh. When oozie 
> war is not setup, oozied.sh tries to prepare the war file. See
> {code}
> setup_oozie() {
>   if [ ! -e "${CATALINA_BASE}/webapps/oozie.war" ]; then
>     echo "WARN: Oozie WAR has not been set up at 
> ''${CATALINA_BASE}/webapps'', d
> oing default set up"
>     ${BASEDIR}/bin/oozie-setup.sh
>     if [ "$?" != "0" ]; then
>       exit -1
>     fi
>   fi
>   echo
> }
> {code}
> But we should call {noformat}"${BASEDIR}/bin/oozie-setup.sh 
> prepare-war"{noformat} to prepare the war file with default configuration.



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

Reply via email to