lixinglong created HADOOP-14379: ----------------------------------- Summary: In federation mode,"hdfs dfsadmin -report" command can not be used Key: HADOOP-14379 URL: https://issues.apache.org/jira/browse/HADOOP-14379 Project: Hadoop Common Issue Type: New Feature Reporter: lixinglong
In federation mode,"hdfs dfsadmin -report" command can not be used,as follows: hdfs@zdh102:~> hdfs dfsadmin -report report: FileSystem viewfs://nsX/ is not an HDFS file system Usage: hdfs dfsadmin [-report] [-live] [-dead] [-decommissioning] After adding new features,"hdfs dfsadmin -report" command can be used,as follows: hdfs@zdh102:~> hdfs dfsadmin -report hdfs://nameservice Configured Capacity: 2682939863040 (2.44 TB) Present Capacity: 2170811387904 (1.97 TB) DFS Remaining: 2170810589184 (1.97 TB) DFS Used: 798720 (780 KB) DFS Used%: 0.00% Under replicated blocks: 0 Blocks with corrupt replicas: 0 Missing blocks: 0 Missing blocks (with replication factor 1): 0 ------------------------------------------------- Live datanodes (4): Name: 10.43.156.126:50010 (zdh126) Hostname: zdh126 Rack: /default Decommission Status : Normal Configured Capacity: 1578524934144 (1.44 TB) DFS Used: 217088 (212 KB) Non DFS Used: 163274125312 (152.06 GB) DFS Remaining: 1415250591744 (1.29 TB) DFS Used%: 0.00% DFS Remaining%: 89.66% 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: 2 Last contact: Thu May 04 10:44:41 CST 2017 Name: 10.43.183.102:50010 (zdh102) Hostname: zdh102 Rack: /default Decommission Status : Normal Configured Capacity: 579556651008 (539.75 GB) DFS Used: 147456 (144 KB) Non DFS Used: 211151990784 (196.65 GB) DFS Remaining: 368404512768 (343.10 GB) DFS Used%: 0.00% DFS Remaining%: 63.57% 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: 2 Last contact: Thu May 04 10:44:41 CST 2017 Name: 10.43.183.103:50010 (zdh103) Hostname: zdh103 Rack: /default Decommission Status : Normal Configured Capacity: 262429138944 (244.41 GB) DFS Used: 217088 (212 KB) Non DFS Used: 68901670912 (64.17 GB) DFS Remaining: 193527250944 (180.24 GB) DFS Used%: 0.00% DFS Remaining%: 73.74% 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: 2 Last contact: Thu May 04 10:44:42 CST 2017 Name: 10.43.183.104:50010 (zdh104) Hostname: zdh104 Rack: /default Decommission Status : Normal Configured Capacity: 262429138944 (244.41 GB) DFS Used: 217088 (212 KB) Non DFS Used: 68800688128 (64.08 GB) DFS Remaining: 193628233728 (180.33 GB) DFS Used%: 0.00% DFS Remaining%: 73.78% 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: 2 Last contact: Thu May 04 10:44:41 CST 2017 hdfs://nameservice1 Configured Capacity: 2682939863040 (2.44 TB) Present Capacity: 2170811387904 (1.97 TB) DFS Remaining: 2170810589184 (1.97 TB) DFS Used: 798720 (780 KB) DFS Used%: 0.00% Under replicated blocks: 0 Blocks with corrupt replicas: 0 Missing blocks: 0 Missing blocks (with replication factor 1): 0 ------------------------------------------------- Live datanodes (4): Name: 10.43.156.126:50010 (zdh126) Hostname: zdh126 Rack: /default Decommission Status : Normal Configured Capacity: 1578524934144 (1.44 TB) DFS Used: 217088 (212 KB) Non DFS Used: 163274125312 (152.06 GB) DFS Remaining: 1415250591744 (1.29 TB) DFS Used%: 0.00% DFS Remaining%: 89.66% 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: 2 Last contact: Thu May 04 12:36:06 CST 2017 Name: 10.43.183.102:50010 (zdh102) Hostname: zdh102 Rack: /default Decommission Status : Normal Configured Capacity: 579556651008 (539.75 GB) DFS Used: 147456 (144 KB) Non DFS Used: 211151990784 (196.65 GB) DFS Remaining: 368404512768 (343.10 GB) DFS Used%: 0.00% DFS Remaining%: 63.57% 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: 2 Last contact: Thu May 04 12:36:05 CST 2017 Name: 10.43.183.103:50010 (zdh103) Hostname: zdh103 Rack: /default Decommission Status : Normal Configured Capacity: 262429138944 (244.41 GB) DFS Used: 217088 (212 KB) Non DFS Used: 68901670912 (64.17 GB) DFS Remaining: 193527250944 (180.24 GB) DFS Used%: 0.00% DFS Remaining%: 73.74% 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: 2 Last contact: Thu May 04 12:36:05 CST 2017 Name: 10.43.183.104:50010 (zdh104) Hostname: zdh104 Rack: /default Decommission Status : Normal Configured Capacity: 262429138944 (244.41 GB) DFS Used: 217088 (212 KB) Non DFS Used: 68800688128 (64.08 GB) DFS Remaining: 193628233728 (180.33 GB) DFS Used%: 0.00% DFS Remaining%: 73.78% 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: 2 Last contact: Thu May 04 12:36:07 CST 2017 -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org