Support Questions

Find answers, ask questions, and share your expertise

Input path does not exist: hdfs://quickstart.cloudera:8020/user/cloudera/ /mot.txt

avatar
New Contributor

Hey,

Have any one of you an idea about this probleme?

thanks.

----------------------------------------------------------------------------------------------------------------

[cloudera@quickstart ~]$ hadoop jar BigData/mbds_anagrammes.jar org.mbds.hadoop.anagrammes.Anagrammes \ /mot.txt /rs

18/02/07 03:14:31 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
18/02/07 03:14:33 INFO mapreduce.JobSubmitter: Cleaning up the staging area /tmp/hadoop-yarn/staging/cloudera/.staging/job_1518001787342_0001
18/02/07 03:14:33 WARN security.UserGroupInformation: PriviledgedActionException as:cloudera (auth:SIMPLE) cause:org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://quickstart.cloudera:8020/user/cloudera/ /mot.txt
Exception in thread "main" org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://quickstart.cloudera:8020/user/cloudera/ /mot.txt
at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:323)
at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:265)
at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:387)
at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:305)
at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:322)
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:200)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1307)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1304)
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:1917)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1304)
at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1325)
at org.mbds.hadoop.anagrammes.Anagrammes.main(Anagrammes.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)

 

[cloudera@quickstart BigData]$ hdfs dfs -ls /
Found 7 items
drwxrwxrwx - hdfs supergroup 0 2017-07-19 05:34 /benchmarks
drwxr-xr-x - hbase supergroup 0 2018-02-07 03:10 /hbase
-rw-r--r-- 1 cloudera supergroup 10310 2018-02-06 10:20 /mot.txt
drwxr-xr-x - solr solr 0 2017-07-19 05:37 /solr
drwxrwxrwt - hdfs supergroup 0 2018-02-01 02:21 /tmp
drwxr-xr-x - hdfs supergroup 0 2017-07-19 05:36 /user
drwxr-xr-x - hdfs supergroup 0 2017-07-19 05:36 /var

1 ACCEPTED SOLUTION

avatar
Champion

try this and please let me know if that fixes 

 

 hadoop jar BigData/mbds_anagrammes.jar org.mbds.hadoop.anagrammes.Anagrammes /mot.txt /rs

View solution in original post

3 REPLIES 3

avatar
Champion

try this and please let me know if that fixes 

 

 hadoop jar BigData/mbds_anagrammes.jar org.mbds.hadoop.anagrammes.Anagrammes /mot.txt /rs

avatar
New Contributor
It works,
Thanks.

avatar
New Contributor

how to solve this issue.   Input path does not exist