What is the hdfs command to check free space available?

0 votes
Hi. I want to know if there's a command to check free space available in the Hadoop file system.
Nov 21, 2018 in Big Data Hadoop by digger
• 27,620 points
56 views

1 answer to this question.

0 votes

You can see the free available space through the browser localhost:50070/dfshealth.html.

But if you want to use a command for this, you can try this:

hdfs dfsadmin -report

or 

hadoop fs -df -h
answered Nov 21, 2018 by Omkar
• 67,120 points

Related Questions In Big Data Hadoop

0 votes
5 answers
0 votes
1 answer

What is the command to navigate in HDFS?

First of all there is no command ...READ MORE

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

What does hadoop fs -du command gives as output?

The first value is the size of ...READ MORE

answered Apr 27, 2018 in Big Data Hadoop by Shubham
• 13,190 points
638 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,190 points
63 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,190 points
120 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,190 points
163 views
0 votes
1 answer

What is the command to count number of lines in a file in hdfs?

hadoop fs -cat /example2/doc1 | wc -l READ MORE

answered Nov 22, 2018 in Big Data Hadoop by Omkar
• 67,120 points
198 views
0 votes
1 answer

Hdfs command to see available free space in hdfs

Yes, you check the free space using ...READ MORE

answered Jan 21 in Big Data Hadoop by Omkar
• 67,120 points
31 views