Hadoop input folder not found?

0 votes
I am new to Hadoop and trying installing hadoop-2.7.3 . I can start the following process and can see dfshealth.html#tab-datanode at port 50070. But I am stuck " Copy the input files into the distributed filesystem", this file is present but still I am getting this error saying:

No such file or directory

Can anyone help out with the problem?
Jun 13 in Big Data Hadoop by Rakesh
51 views

1 answer to this question.

0 votes

Hey,

This is because the user directory not found. Hadoop will copy the input into the user directory /user/username by default if the output directory does not specified.

Either create a user directory in Hadoop or copy the file using below command:

bin/hdfs dfs -put input /

This above command will copy the input directory into root(/) of HDFS.

answered Jun 13 by Gitika
• 25,420 points

Related Questions In Big Data Hadoop

+1 vote
1 answer
0 votes
1 answer

hadoop: command not found

The reason you are getting hadoop as ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
3,242 views
0 votes
1 answer

Hadoop Mapreduce: Class Not Found Exception

Try adding this Job job = new Job(conf, ...READ MORE

answered Oct 29, 2018 in Big Data Hadoop by Omkar
• 68,480 points
599 views
0 votes
1 answer

Hadoop Hive: message:Version information not found in metastore. Unable to instantiate

These are the necessary tables required for metastore that are ...READ MORE

answered Nov 12, 2018 in Big Data Hadoop by Omkar
• 68,480 points
642 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,800 points
3,575 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,800 points
454 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
18,429 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
1,333 views
0 votes
1 answer

I have installed Hadoop on Ubuntu but name node is not running.

If you are using Hadoop version-2.7.7, then ...READ MORE

answered Apr 30 in Big Data Hadoop by Gitika
• 25,420 points
180 views