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: [email protected]
To: [email protected]
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: [email protected]
To: [email protected]
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

Reply via email to