You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by tkg_cangkul <yu...@gmail.com> on 2015/09/16 09:47:46 UTC

error running project with oozie

hi all,

i try to run job but the job must be killed.
this is the error message that i've got

Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

pls help.
thx

-- 
Best Regards,
Yuza


Re: error running project with oozie

Posted by tkg_cangkul <yu...@gmail.com>.
thx for your reply,

yeah you're right. i try to use java action and it has been successfull.
thanks for your help Oussama :)

On 16/09/15 15:17, Oussama Chougna wrote:
> Hi Yuza,
> That url is a temporary directory on the node running the map task.
> Why are you using the shell action to execute a Jar? You'd better use a Java action.Or, first test your shell action on one of your hadoop nodes locally and see what it outputs before running it via Oozie.
> Good luck,
> O. Chougna
>
>> Date: Wed, 16 Sep 2015 15:05:16 +0700
>> From: yuza.rasfar@gmail.com
>> To: user@oozie.apache.org
>> Subject: Re: error running project with oozie
>>
>> hi thx for reply.
>>
>> i got this message when i check stderr logs.
>>
>> Not a valid JAR: /u02/mapred/local/taskTracker/apps/jobcache/job_201509151659_0095/attempt_201509151659_0095_m_000000_0/work/hdfs:/cassandra01:8020/user/apps/testoozie/project1.jar
>> Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
>>
>> i never put the url :
>>
>> /u02/mapred/local/taskTracker/apps/jobcache/job_201509151659_0095/attempt_201509151659_0095_m_000000_0/work/
>>
>> in workflow.xml or my script.
>>
>> On 16/09/15 14:57, Oussama Chougna wrote:
>>> Hi Yuza,
>>> Did you check the Hadoop job logs? There should be more information about the error.
>>> Best,
>>> Oussama
>>>
>>>> Date: Wed, 16 Sep 2015 14:47:46 +0700
>>>> From: yuza.rasfar@gmail.com
>>>> To: user@oozie.apache.org
>>>> Subject: error running project with oozie
>>>>
>>>> hi all,
>>>>
>>>> i try to run job but the job must be killed.
>>>> this is the error message that i've got
>>>>
>>>> Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
>>>>
>>>> pls help.
>>>> thx
>>>>
>>>> -- 
>>>> Best Regards,
>>>> Yuza
>>>>
>>>    		 	   		
>> -- 
>> Best Regards,
>> Yuza
>>
>   		 	   		

-- 
Best Regards,
Yuza


RE: error running project with oozie

Posted by Oussama Chougna <ou...@hotmail.com>.
Hi Yuza,
That url is a temporary directory on the node running the map task.
Why are you using the shell action to execute a Jar? You'd better use a Java action.Or, first test your shell action on one of your hadoop nodes locally and see what it outputs before running it via Oozie.
Good luck,
O. Chougna

> Date: Wed, 16 Sep 2015 15:05:16 +0700
> From: yuza.rasfar@gmail.com
> To: user@oozie.apache.org
> Subject: Re: error running project with oozie
> 
> hi thx for reply.
> 
> i got this message when i check stderr logs.
> 
> Not a valid JAR: /u02/mapred/local/taskTracker/apps/jobcache/job_201509151659_0095/attempt_201509151659_0095_m_000000_0/work/hdfs:/cassandra01:8020/user/apps/testoozie/project1.jar
> Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
> 
> i never put the url :
> 
> /u02/mapred/local/taskTracker/apps/jobcache/job_201509151659_0095/attempt_201509151659_0095_m_000000_0/work/
> 
> in workflow.xml or my script.
> 
> On 16/09/15 14:57, Oussama Chougna wrote:
> > Hi Yuza,
> > Did you check the Hadoop job logs? There should be more information about the error.
> > Best,
> > Oussama
> >
> >> Date: Wed, 16 Sep 2015 14:47:46 +0700
> >> From: yuza.rasfar@gmail.com
> >> To: user@oozie.apache.org
> >> Subject: error running project with oozie
> >>
> >> hi all,
> >>
> >> i try to run job but the job must be killed.
> >> this is the error message that i've got
> >>
> >> Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
> >>
> >> pls help.
> >> thx
> >>
> >> -- 
> >> Best Regards,
> >> Yuza
> >>
> >   		 	   		
> 
> -- 
> Best Regards,
> Yuza
> 
 		 	   		  

Re: error running project with oozie

Posted by tkg_cangkul <yu...@gmail.com>.
hi thx for reply.

i got this message when i check stderr logs.

Not a valid JAR: /u02/mapred/local/taskTracker/apps/jobcache/job_201509151659_0095/attempt_201509151659_0095_m_000000_0/work/hdfs:/cassandra01:8020/user/apps/testoozie/project1.jar
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

i never put the url :

/u02/mapred/local/taskTracker/apps/jobcache/job_201509151659_0095/attempt_201509151659_0095_m_000000_0/work/

in workflow.xml or my script.

On 16/09/15 14:57, Oussama Chougna wrote:
> Hi Yuza,
> Did you check the Hadoop job logs? There should be more information about the error.
> Best,
> Oussama
>
>> Date: Wed, 16 Sep 2015 14:47:46 +0700
>> From: yuza.rasfar@gmail.com
>> To: user@oozie.apache.org
>> Subject: error running project with oozie
>>
>> hi all,
>>
>> i try to run job but the job must be killed.
>> this is the error message that i've got
>>
>> Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
>>
>> pls help.
>> thx
>>
>> -- 
>> Best Regards,
>> Yuza
>>
>   		 	   		

-- 
Best Regards,
Yuza


RE: error running project with oozie

Posted by Oussama Chougna <ou...@hotmail.com>.
Hi Yuza,
Did you check the Hadoop job logs? There should be more information about the error.
Best,
Oussama

> Date: Wed, 16 Sep 2015 14:47:46 +0700
> From: yuza.rasfar@gmail.com
> To: user@oozie.apache.org
> Subject: error running project with oozie
> 
> hi all,
> 
> i try to run job but the job must be killed.
> this is the error message that i've got
> 
> Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
> 
> pls help.
> thx
> 
> -- 
> Best Regards,
> Yuza
>