하나의 이름 노드 (마스터 노드)와 3 개의 데이터 노드 (슬레이브 노드)가 있습니다. 단일 데이터 노드 이름 노드 자체에서 잘 작동하고 보고서에 표시됩니다. 모든 데몬은 개별적으로 실행되지만 3 개의 데이터 노드 (슬레이브 노드)는 hadoop dfsadmin -report에 나열되지 않습니다.Hadoop - 3 데이터 노드가 작동 중이지만 보고서/URL에 라이브 데이터 노드가 표시되지 않습니다.
jps가 시작되면 모든 것이 잘 보입니다. :
이름 노드
[[email protected] ~]$ jps
4338 Jps
2114 NameNode
2420 SecondaryNameNode
2696 NodeManager
2584 ResourceManager
2220 DataNode
슬레이브 노드 [하둡 @의 SLAVE1 ~] $ JPS 2114 NodeManager 2229 JPS 2015 데이터 노드
슬레이브 노드
[[email protected] ~]$ jps
2114 NodeManager
2229 Jps
2015 DataNode
,451,515,
슬레이브 노드 [하둡 @의 slave3는 ~] $ JPS
2114 NodeManager
2229 Jps
2015 DataNode
[[email protected] ~]$ **hadoop dfsadmin -report**
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
16/07/14 21:27:46 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Configured Capacity: 7092494336 (6.61 GB)
Present Capacity: 1852854272 (1.73 GB)
DFS Remaining: 1852821504 (1.73 GB)
DFS Used: 32768 (32 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 (1):
Name: 192.168.1.160:50010 (nn1)*(### comment - this is data node configured in the name node itself)*
Hostname: nn1
Decommission Status : Normal
Configured Capacity: 7092494336 (6.61 GB)
DFS Used: 32768 (32 KB)
Non DFS Used: 5239640064 (4.88 GB)
DFS Remaining: 1852821504 (1.73 GB)
DFS Used%: 0.00%
DFS Remaining%: 26.12%
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: Thu Jul 14 21:27:46 IST 2016