2015-07-26 23:49:05,594 ERROR [main] security. Usergroupinformation (UserGroupInformation.java:doAs (1494))-Priviledgedactionexception As:cau (auth:simple) cause : Org.apache.hadoop.mapreduce.lib.input.InvalidInputException:Input path does not exist:file:/user/guest/0data
Exception in thread ' main ' org.apache.hadoop.mapreduce.lib.input.InvalidInputException:Input path does not exist:file :/user/guest/0data
At Org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus (fileinputformat.java:285)
At Org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits (fileinputformat.java:340)
At Org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits (jobsubmitter.java:491)
At Org.apache.hadoop.mapreduce.JobSubmitter.writeSplits (jobsubmitter.java:508)
At Org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal (jobsubmitter.java:392)
At Org.apache.hadoop.mapreduce.job$10.run (job.java:1268)
At Org.apache.hadoop.mapreduce.job$10.run (job.java:1265)
At java.security.AccessController.doPrivileged (Native Method)
At Javax.security.auth.Subject.doAs (subject.java:415)
At Org.apache.hadoop.security.UserGroupInformation.doAs (usergroupinformation.java:1491)
At Org.apache.hadoop.mapreduce.Job.submit (job.java:1265)
At Org.apache.hadoop.mapreduce.Job.waitForCompletion (job.java:1286)
At Test.DataSelection.main (dataselection.java:136)
=============================================================================================================== =====
To Route:
Configuration conf = new configuration ();
Conf.set ("Mapred.job.tracker", "10.2.173.15:9001");
string[] Ioargs = new string[] {"/user/guest/0data", "/user/guest/0data"};
Overwrite to:
Fileinputformat.addinputpath (job,new Path ("Hdfs://10.2.173.15:9000/user/guest/0data"));
Fileoutputformat.setoutputpath (Job, New Path ("Hdfs://10.2.173.15:9000/user/guest/0data"));
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Eclipse Hadoop ERROR [main] security. Usergroupinformation