hadoop - ERROR security.UserGroupInformation: PriviledgedActionException -
i trying learn hadoop version 1.1.0 on hdinsights. followed step step instructions run commands on hadoop command line. first compiled java code , created jar file , executed map reduce command. when run mapreduce command, gives me error below. can me understand error means , need correct it?
c:\hadoop-training\mrdcache>hadoop jar dcache.jar dcache mrdcache/input/nyse mrdcache/output 13/08/08 23:29:01 warn mapred.jobclient: use genericoptionsparser parsing arguments. applications should implement tool same. 13/08/08 23:29:01 info mapred.jobclient: cleaning staging area hdfs://localhost:8020/hadoop/hdfs/tmp/mapred/staging/ramya/.staging/job_201308082321_0001 13/08/08 23:29:01 error security.usergroupinformation: priviledgedactionexception as:myusername cause:java.io.filenotfoundexception: file not exist: mrdcache/output exception in thread "main" java.io.filenotfoundexception: file not exist: mrdcache/output @ org.apache.hadoop.hdfs.distributedfilesystem.getfilestatus(distributedfilesystem.java:518) @ org.apache.hadoop.filecache.distributedcache.getfilestatus(distributedcache.java:185) @ org.apache.hadoop.filecache.trackerdistributedcachemanager.determinetimestamps(trackerdistributedcachemanager.java:750) @ org.apache.hadoop.mapred.jobclient.copyandconfigurefiles(jobclient.java:763) @ org.apache.hadoop.mapred.jobclient.copyandconfigurefiles(jobclient.java:655) @ org.apache.hadoop.mapred.jobclient.access$300(jobclient.java:174) @ org.apache.hadoop.mapred.jobclient$2.run(jobclient.java:865) @ org.apache.hadoop.mapred.jobclient$2.run(jobclient.java:850) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:396) @ org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1135) @ org.apache.hadoop.mapred.jobclient.submitjobinternal(jobclient.java:850) @ org.apache.hadoop.mapred.jobclient.submitjob(jobclient.java:824) @ org.apache.hadoop.mapred.jobclient.runjob(jobclient.java:1261) @ dcache.main(dcache.java:199) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.apache.hadoop.util.runjar.main(runjar.java:156)
appreciate help! thanks, ramya
where file? should use asv this: hadoop jar c:\tutorials\log4jmapreduce.jar log4jmapreduce asv:///sample.log asv:///tutorials/output
http://www.windowsazure.com/en-us/manage/services/hdinsight/using-mapreduce-with-hdinsight/
Comments
Post a Comment