You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by rammohan ganapavarapu <ra...@gmail.com> on 2016/06/14 17:03:20 UTC

Re:Error: HTTP error code: 500 : Internal Server Error

Hi,


I am trying to test my oozie setup, oozie is up and running and i can
access webui but when i try to run a shell job from the examples i am
getting 500 error, any idea?


oozie job -oozie http://localhost:11000/oozie -config job.properties -run
-debug -verbose
 Auth type : null
POST http://localhost:11000/oozie/v2/jobs?action=start
<?xml version="1.0" encoding="UTF-8" standalone="no"?><configuration>
<property><name>user.name</name><value>hadoop</value></property>
<property><name>oozie.use.system.libpath</name><value>true</value></property>
<property><name>oozie.wf.application.path</name><value>hdfs://localhost:8020/examples/examples/apps/shell</value></property>
<property><name>queueName</name><value>default</value></property>
<property><name>nameNode</name><value>hdfs://localhost:8020</value></property>
<property><name>jobTracker</name><value>localhost:8032</value></property>
</configuration>
Error: HTTP error code: 500 : Internal Server Error

My job.properties file from shell dir:

nameNode=hdfs://localhost:8020
jobTracker=localhost:8032
queueName=default

oozie.use.system.libpath=true

oozie.wf.application.path=hdfs://localhost:8020/examples/examples/apps/shell

Re: Error: HTTP error code: 500 : Internal Server Error

Posted by Ferenc Denes <fd...@cloudera.com>.
We have experienced this with Java8u91, 92.
We have an initiative to upgrade to Jetty OOZIE-2533
<https://issues.apache.org/jira/browse/OOZIE-2533> it is.

On Thu, Jun 16, 2016 at 3:23 PM, Abhishek Bafna <ba...@gmail.com>
wrote:

> Hi,
>
> Can you check the oozie server logs into the oozie.log file.
>
> Just execute the oozie run command again and check the logs.
>
> You can provide the error from the logs, here in the mail chain, if you
> need anything more help on the issue.
>
> Thanks,
> Abhishek
>
> > On Jun 14, 2016, at 10:33 PM, rammohan ganapavarapu <
> rammohanganap@gmail.com> wrote:
> >
> > Hi,
> >
> >
> > I am trying to test my oozie setup, oozie is up and running and i can
> > access webui but when i try to run a shell job from the examples i am
> > getting 500 error, any idea?
> >
> >
> > oozie job -oozie http://localhost:11000/oozie -config job.properties
> -run
> > -debug -verbose
> > Auth type : null
> > POST http://localhost:11000/oozie/v2/jobs?action=start
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?><configuration>
> > <property><name>user.name</name><value>hadoop</value></property>
> >
> <property><name>oozie.use.system.libpath</name><value>true</value></property>
> >
> <property><name>oozie.wf.application.path</name><value>hdfs://localhost:8020/examples/examples/apps/shell</value></property>
> > <property><name>queueName</name><value>default</value></property>
> >
> <property><name>nameNode</name><value>hdfs://localhost:8020</value></property>
> > <property><name>jobTracker</name><value>localhost:8032</value></property>
> > </configuration>
> > Error: HTTP error code: 500 : Internal Server Error
> >
> > My job.properties file from shell dir:
> >
> > nameNode=hdfs://localhost:8020
> > jobTracker=localhost:8032
> > queueName=default
> >
> > oozie.use.system.libpath=true
> >
> >
> oozie.wf.application.path=hdfs://localhost:8020/examples/examples/apps/shell
>
>

Re: Error: HTTP error code: 500 : Internal Server Error

Posted by Abhishek Bafna <ba...@gmail.com>.
Hi,

Can you check the oozie server logs into the oozie.log file.

Just execute the oozie run command again and check the logs.

You can provide the error from the logs, here in the mail chain, if you need anything more help on the issue.

Thanks,
Abhishek

> On Jun 14, 2016, at 10:33 PM, rammohan ganapavarapu <ra...@gmail.com> wrote:
> 
> Hi,
> 
> 
> I am trying to test my oozie setup, oozie is up and running and i can
> access webui but when i try to run a shell job from the examples i am
> getting 500 error, any idea?
> 
> 
> oozie job -oozie http://localhost:11000/oozie -config job.properties -run
> -debug -verbose
> Auth type : null
> POST http://localhost:11000/oozie/v2/jobs?action=start
> <?xml version="1.0" encoding="UTF-8" standalone="no"?><configuration>
> <property><name>user.name</name><value>hadoop</value></property>
> <property><name>oozie.use.system.libpath</name><value>true</value></property>
> <property><name>oozie.wf.application.path</name><value>hdfs://localhost:8020/examples/examples/apps/shell</value></property>
> <property><name>queueName</name><value>default</value></property>
> <property><name>nameNode</name><value>hdfs://localhost:8020</value></property>
> <property><name>jobTracker</name><value>localhost:8032</value></property>
> </configuration>
> Error: HTTP error code: 500 : Internal Server Error
> 
> My job.properties file from shell dir:
> 
> nameNode=hdfs://localhost:8020
> jobTracker=localhost:8032
> queueName=default
> 
> oozie.use.system.libpath=true
> 
> oozie.wf.application.path=hdfs://localhost:8020/examples/examples/apps/shell