Hi Rd,
Sorry for the inconvenience.
Which version of Oozie and hadoop are you trying? Is hadoop running with 
kerberos.

I assume you find the exception in ooze log. That means the launcher map was 
not started.


In addition, did you try with any other hadoop command in shell action (such as 
hadoop fs -ls /tmp).

Regards,
Mohammad




________________________________
 From: RD <[email protected]>
To: [email protected] 
Sent: Saturday, November 3, 2012 10:39 PM
Subject: Running Hadoop HAR (hadoop archive) command from within a shell or 
java action.
 
Hi All,
     I've been trying to run the hadoop HAR command from with the Shell and
java action (In java action I used the main class
"org.apache.hadoop.tools.HadoopArchives").
In both cases, I get the following error

java.io.IOException: Delegation Token can be issued only with kerberos or
web authentication

at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:5511)

at
org.apache.hadoop.hdfs.server.namenode.NameNode.getDelegationToken(NameNode.java:564)

at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)

at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)

at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:396)

at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1093)

at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)


The HAR command is actually a mapreduce job, so effectively I could try
running the mapreduce action, but the driver class does a lot of
preprocessing before triggering the job, so I'm not sure how to do that in
a mapreduce action.


Thanks for all the help

R.

Reply via email to