Hadoop: `.' no such file or directory while installing

0 votes

I have installed Hadoop and HDFS

I am also able to create directories and use them using

hadoop fs -mkdir /tmp
hadoop fs -mkdir /small

Now i try to run the following command:

hadoop fs -mkdir temp
hadoop fs -ls

I get this error

ls: `.': No such file or directory

​How to solve this? What am i doing wrong?

Nov 2, 2018 in Big Data Hadoop by slayer
• 29,240 points
84 views

1 answer to this question.

0 votes

Try

hadoop fs -mkdir -p /user/[Username]

and then run your commands. It should work. You are getting this error because home directory is missing on HDFS for the user

answered Nov 2, 2018 by Omkar
• 68,480 points

Related Questions In Big Data Hadoop

0 votes
1 answer

“no such file or directory" in case of hadoop fs -ls

The behaviour that you are seeing is ...READ MORE

answered May 9, 2018 in Big Data Hadoop by nitinrawat895
• 10,800 points

edited May 9, 2018 by nitinrawat895 2,775 views
0 votes
1 answer

Hadoop Pipe: shared libraries, No such file or directory error

Add -rpath my.zip/lib to LDFLAGS_HDP. For compilation to work, you ...READ MORE

answered Aug 30, 2018 in Big Data Hadoop by Frankie
• 9,810 points
85 views
0 votes
1 answer
0 votes
1 answer
+1 vote
2 answers

What does hadoop fs -du command gives as output?

du command is used for to see ...READ MORE

answered Jul 23 in Big Data Hadoop by Lokesh Singh
1,194 views
0 votes
1 answer

How can I write text in HDFS using CMD?

Hadoop put & appendToFile only reads standard ...READ MORE

answered Apr 27, 2018 in Big Data Hadoop by Shubham
• 13,350 points
106 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,350 points
271 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,350 points
304 views
+1 vote
1 answer

bash: sbin/hadoop: No such file or directory

The hadoop command is not present in ...READ MORE

answered Sep 18 in Big Data Hadoop by Omkar
• 68,480 points
53 views
+4 votes
3 answers

Unable to find file error- while Streaming Hadoop

Is python installed running on the slaves that ...READ MORE

answered Oct 16, 2018 in Big Data Hadoop by Vinith
379 views