我有3个从属节点加上hadoop主节点,但仅出现2个节点

时间:2019-02-12 09:16:13

标签: hadoop hdfs

因为我有3个从属设备和1个主设备,但只有2个出现,所以存在配置为hadoop群集的最大从属节点数量

我的hdfs dfsadmin报告

[hadoop@pro-vm-ccms01 hadoop]$ hdfs dfsadmin -report
Configured Capacity: 1073209155584 (999.50 GB)
Present Capacity: 1063693434880 (990.64 GB)
DFS Remaining: 1063693426688 (990.64 GB)
DFS Used: 8192 (8 KB)
DFS Used%: 0.00%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
Missing blocks (with replication factor 1): 0
Pending deletion blocks: 0

-------------------------------------------------
Live datanodes (2):

Name: 192.22.230.73:50010 (pro-vm-ccms02)
Hostname: pro-vm-ccms02
Decommission Status : Normal
Configured Capacity: 536604577792 (499.75 GB)
DFS Used: 4096 (4 KB)
Non DFS Used: 4757868544 (4.43 GB)
DFS Remaining: 531846705152 (495.32 GB)
DFS Used%: 0.00%
DFS Remaining%: 99.11%
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: Tue Feb 12 11:02:08 SAST 2019


Name: 192.22.230.74:50010 (pro-vm-ccms03)
Hostname: pro-vm-ccms03
Decommission Status : Normal
Configured Capacity: 536604577792 (499.75 GB)
DFS Used: 4096 (4 KB)
Non DFS Used: 4757852160 (4.43 GB)
DFS Remaining: 531846721536 (495.32 GB)
DFS Used%: 0.00%
DFS Remaining%: 99.11%
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: Tue Feb 12 11:02:08 SAST 2019

但这是我的奴隶文件

192.22.230.73
192.22.230.74
192.22.230.75

和我的hdfs-site.xml

<configuration>
   <property>
            <name>dfs.namenode.name.dir</name>
            <value>/data/hadoop/data/nameNode</value>
    </property>

    <property>
            <name>dfs.data.dir</name>
            <value>/data/hadoop/data/dataNode</value>
    </property>

    <property>
            <name>dfs.replication</name>
            <value>3</value>
    </property>

</configuration>

和我的其他服务器已启动并像其他服务器一样运行

[hadoop@pro-vm-ccms04 hadoop]$ jps
15875 DataNode
16344 Jps
16012 NodeManager

0 个答案:

没有答案