You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2014/09/17 14:33:35 UTC

[jira] [Commented] (OOZIE-2008) When oozie war is not setup, oozie service fails to start

    [ https://issues.apache.org/jira/browse/OOZIE-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137147#comment-14137147 ] 

Shwetha G S commented on OOZIE-2008:
------------------------------------

I think it was designed this way. 

To make it easier for starters, we should support starting oozie with default versions of hadoop and hcat. +1 for this feature

> 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)