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.


(P.S Sending this again after subscribing, since the first one may not have
gone through)

Thanks for all the help

R.

Reply via email to