Saturday, 2 January 2016

Hadoop: Get statistics of HDFS


“hdfs dfsadmin –report” is used to get basic statistics of HDFS.

$ hdfs dfsadmin -report
15/06/19 14:20:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Configured Capacity: 499418030080 (465.12 GB)
Present Capacity: 448735076352 (417.92 GB)
DFS Remaining: 448735023104 (417.92 GB)
DFS Used: 53248 (52 KB)
DFS Used%: 0.00%
Under replicated blocks: 5
Blocks with corrupt replicas: 0
Missing blocks: 0

-------------------------------------------------
Live datanodes (1):

Name: 10.19.32.23:50010 (10.19.32.23)
Hostname: 127.0.0.1
Decommission Status : Normal
Configured Capacity: 499418030080 (465.12 GB)
DFS Used: 53248 (52 KB)
Non DFS Used: 50682953728 (47.20 GB)
DFS Remaining: 448735023104 (417.92 GB)
DFS Used%: 0.00%
DFS Remaining%: 89.85%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 1
Last contact: Fri Jun 19 14:20:05 IST 2015


Previous                                                 Next                                                 Home

No comments:

Post a Comment