Hdfs command to see available free space in hdfs

–1 vote
The common way to check free space of hdfs is from web interface. Can I check the same using hdfs commands? Is there any command for this?
Jan 21 in Big Data Hadoop by digger
• 26,550 points
49 views

1 answer to this question.

0 votes

Yes, you check the free space using hdfs commands. There are two commands that I know:

hdfs dfsadmin -report

and

hdfs dfs -df -h
answered Jan 21 by Omkar
• 67,660 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,310 points
519 views
0 votes
1 answer

How to count lines in a file on hdfs command?

Use the below commands: Total number of files: hadoop ...READ MORE

answered Aug 10, 2018 in Big Data Hadoop by Neha
• 6,280 points
3,663 views
0 votes
1 answer

what command to see list inside your Database in linux?

Command used to list up what is inside ...READ MORE

answered Apr 15 in Big Data Hadoop by Gitika
• 25,360 points
27 views
+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,106 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,310 points
96 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,310 points
238 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,310 points
273 views
0 votes
1 answer

What is the hdfs command to check free space available?

You can see the free available space ...READ MORE

answered Nov 21, 2018 in Big Data Hadoop by Omkar
• 67,660 points
93 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,660 points
407 views