JPS结果和hdfs管理员报告不同

时间:2019-06-12 11:32:09

标签: apache-spark hadoop hdfs bigdata yarn

这是我在主节点上的jps结果。

  

NameNode
  SecondaryNameNode

从节点jps输出

  

Datanode

如果我看jps结果,似乎一切都不错,但是当我运行hdfs dfsadmin -report时,仅显示datanode。但是jps表示namenode也正在工作。我也无法通过Web UI到达namenode

实时数据节点(1):

> Name: 172.31.7.44:50010 (ip-172-31-7-44.us-east-2.compute.internal)
> Hostname: ip-172-31-7-44.us-east-2.compute.internal Decommission
> Status : Normal Configured Capacity: 10724814848 (9.99 GB) DFS Used:
> 4096 (4 KB) Non DFS Used: 4309471232 (4.01 GB) DFS Remaining:
> 6415339520 (5.97 GB) DFS Used%: 0.00% DFS Remaining%: 59.82%
> 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: Wed Jun 12 11:29:29 UTC 2019
[root@ip-***.***.*** ~]# sudo netstat -antlp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      921/sshd         
tcp        0      0 0.0.0.0:50010           0.0.0.0:*               LISTEN      5439/java
tcp        0      0 0.0.0.0:50075           0.0.0.0:*               LISTEN      5439/java        
tcp        0      0 0.0.0.0:50020           0.0.0.0:*               LISTEN      5439/java
tcp        0      0 127.0.0.1:43211         0.0.0.0:*               LISTEN      5439/java        
tcp        0      0 172.31.7.44:52802       178.128.156.238:2700    ESTABLISHED 6423/c1c3mki454jg
tcp        0    232 172.31.7.44:22          212.156.0.106:38724     ESTABLISHED 5214/sshd: ec2-user
tcp        0      0 172.31.7.44:39966       172.31.11.123:9000      ESTABLISHED 5439/java
tcp6       0      0 :::22                   :::*                    LISTEN      921/sshd
tcp6       0      0 :::13562                :::*                    LISTEN      5563/java        
tcp6       0      0 :::34371                :::*                    LISTEN      5563/java  
tcp6       0      0 :::8040                 :::*                    LISTEN      5563/java    
tcp6       0      0 :::8042                 :::*                    LISTEN      5563/java
tcp6       0      0 172.31.7.44:34371       172.31.11.123:58678     ESTABLISHED 5563/java
tcp6       0      0 172.31.7.44:39134       172.31.11.123:8031      ESTABLISHED 5563/java

注意:我删除了防火墙和权限。名称节点日志中没有任何错误日志。

您知道我该如何解决此问题?

0 个答案:

没有答案