Hi,

Do you see a catalina.out file?  When Oozie fails to startup, that file
usually has an Exception in it with more details.

Also, Oozie 4.0.1 actually builds against Hadoop 2.3.0.  The directions at
that website were made for Oozie 4.0.0, which was building against
2.2.0-SNAPSHOT, to edit it to build against 2.2.0; the sed command they
give isn't going to work properly for Oozie 4.0.1.

I recommend you upgrade to Hadoop 2.3.0.  Alternatively, if you want to use
Hadoop 2.2.0, you should be able to modify the poms to build against 2.2.0
instead of 2.3.0.

- Robert


On Thu, May 15, 2014 at 1:10 AM, Tousif <[email protected]> wrote:

> Hi,
>
> I'm getting error when submitting a coord application.
>
> bin/oozie job -oozie http://localhost:11000/oozie  -config
> /home/user/jobs/cronjob/apps/cron/job.properties -run
>
> *Error: HTTP error code: 500 : Internal Server Error*
>
> I have been working on 3.2 version and to try out new oozie  i have build
> oozie 4.0.1 for hadoop 2.2.0.
> followed instructions on
> http://java.dzone.com/articles/using-oozie-440-hadoop-22
> I dont see any error in oozie.log or catalina output
>
>
> Setting OOZIE_HOME:          /home/user/oozie-4.0.1
> Setting OOZIE_CONFIG:        /home/user/oozie-4.0.1/conf
> Sourcing:                    /home/user/oozie-4.0.1/conf/oozie-env.sh
>   setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
>   setting OOZIE_CONFIG_FILE=oozie-site.xml
> Using   OOZIE_CONFIG_FILE:   oozie-site.xml
> Setting OOZIE_DATA:          /home/user/oozie-4.0.1/data
> Setting OOZIE_LOG:           /home/user/oozie-4.0.1/logs
> Setting OOZIE_LOG4J_FILE:    oozie-log4j.properties
> Setting OOZIE_LOG4J_RELOAD:  10
> Setting OOZIE_HTTP_HOSTNAME: localhost
> Setting OOZIE_HTTP_PORT:     11000
> Setting OOZIE_ADMIN_PORT:     11001
> Setting OOZIE_HTTPS_PORT:     11443
> Setting OOZIE_BASE_URL:      http://localhost:11000/oozie
> Setting CATALINA_BASE:       /home/user/oozie-4.0.1/oozie-server
> Setting OOZIE_HTTPS_KEYSTORE_FILE:     /home/user/.keystore
> Setting OOZIE_HTTPS_KEYSTORE_PASS:     password
> Setting CATALINA_OUT:        /home/user/oozie-4.0.1/logs/catalina.out
> Setting CATALINA_PID:
>  /home/user/oozie-4.0.1/oozie-server/temp/oozie.pid
>
> Using   CATALINA_OPTS:        -Xmx1024m
> -Dderby.stream.error.file=/home/user/oozie-4.0.1/logs/derby.log
> Adding to CATALINA_OPTS:     -Doozie.home.dir=/home/user/oozie-4.0.1
> -Doozie.config.dir=/home/user/oozie-4.0.1/conf
> -Doozie.log.dir=/home/user/oozie-4.0.1/logs
> -Doozie.data.dir=/home/user/oozie-4.0.1/data
> -Doozie.config.file=oozie-site.xml
> -Doozie.log4j.file=oozie-log4j.properties -Doozie.log4j.reload=10
> -Doozie.http.hostname=localhost -Doozie.admin.port=11001
> -Doozie.http.port=11000 -Doozie.https.port=11443 -Doozie.base.url=
>
> http://localhost:11000/oozie-Doozie.https.keystore.file=/home/user/.keystore
> -Doozie.https.keystore.pass=password -Djava.library.path=
> Using CATALINA_BASE:   /home/user/oozie-4.0.1/oozie-server
> Using CATALINA_HOME:   /home/user/oozie-4.0.1/oozie-server
> Using CATALINA_TMPDIR: /home/user/oozie-4.0.1/oozie-server/temp
> Using JRE_HOME:        /usr
> Using CLASSPATH:
> /home/user/oozie-4.0.1/oozie-server/bin/bootstrap.jar
> Using CATALINA_PID:    /home/user/oozie-4.0.1/oozie-server/temp/oozie.pid
> --
>
>
> Regards
> Tousif Khazi
>

Reply via email to