Sunday, 15 June 2014

hadoop - Credential is null for the action - error is found while running a mapreduce job in oozie -



hadoop - Credential is null for the action - error is found while running a mapreduce job in oozie -

when seek run map-reduce job in oozie 4.0.1 using hadoop 2.2.0. next error

hadoopuser@hadoopmaster:/usr/lib/oozie-4.0.1/distro/target/oozie-4.0.1-distro/oozie-4.0.1$ oozie job -oozie http://hadoopmaster:11000/oozie -log 0000001-141029094805376-oozie-hado-w 2014-10-29 09:56:34,680 info actionstartxcommand:539 - user[hadoopuser] group[-] token[] app[map-reduce-wf] job[0000001-141029094805376-oozie-hado-w] action[0000001-141029094805376-oozie-hado-w@:start:] start action [0000001-141029094805376-oozie-hado-w@:start:] user-retry state : userretrycount [0], userretrymax [0], userretryinterval [10] 2014-10-29 09:56:34,681 warn actionstartxcommand:542 - user[hadoopuser] group[-] token[] app[map-reduce-wf] job[0000001-141029094805376-oozie-hado-w] action[0000001-141029094805376-oozie-hado-w@:start:] [***0000001-141029094805376-oozie-hado-w@:start:***]action status=done 2014-10-29 09:56:34,681 warn actionstartxcommand:542 - user[hadoopuser] group[-] token[] app[map-reduce-wf] job[0000001-141029094805376-oozie-hado-w] action[0000001-141029094805376-oozie-hado-w@:start:] [***0000001-141029094805376-oozie-hado-w@:start:***]action updated in db! 2014-10-29 09:56:34,781 info actionstartxcommand:539 - user[hadoopuser] group[-] token[] app[map-reduce-wf] job[0000001-141029094805376-oozie-hado-w] action[0000001-141029094805376-oozie-hado-w@mr-node] start action [0000001-141029094805376-oozie-hado-w@mr-node] user-retry state : userretrycount [0], userretrymax [0], userretryinterval [10] 2014-10-29 09:56:34,932 warn mapreduceactionexecutor:542 - user[hadoopuser] group[-] token[] app[map-reduce-wf] job[0000001-141029094805376-oozie-hado-w] action[0000001-141029094805376-oozie-hado-w@mr-node] credentials null action

my workflow.xml given below

<workflow-app xmlns="uri:oozie:workflow:0.2" name="map-reduce-wf"> <start to="mr-node"/> <action name="mr-node"> <map-reduce> <job-tracker>${jobtracker}</job-tracker> <name-node>${namenode}</name-node> <configuration> <property> <name>mapred.reducer.new-api</name> <value>true</value> </property> <property> <name>mapred.mapper.new-api</name> <value>true</value> </property> <property> <name>mapred.job.queue.name</name> <value>${queuename}</value> </property> <property> <name>mapred.mapper.class</name> <value>org.apache.oozie.example.samplemapper</value> </property> <property> <name>mapred.reducer.class</name> <value>org.apache.oozie.example.samplereducer</value> </property> <property> <name>mapred.map.tasks</name> <value>1</value> </property> <property> <name>mapred.input.dir</name> <value>/user/hadoopuser/examples/input-data/text</value> </property> <property> <name>mapred.output.dir</name> <value>/user/hadoopuser/examples/output-data/${outputdir}</value> </property> </configuration> </map-reduce> <ok to="end"/> <error to="fail"/> </action> <kill name="fail"> <message>map/reduce failed, error message[${wf:errormessage(wf:lasterrornode())}]</message> </kill> <end name="end"/> </workflow-app>

when access oozie.log job id find authentication token expired warnings , 'credential null action' error.

please help me. stuck in error since long time. help appreciated.

hadoop mapreduce oozie

No comments:

Post a Comment