jps结果和hdfs管理报告不同

im9ewurl  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(194)

这是我在主节点上的jps结果。
名称节点
次要名称节点
和从节点jps输出
数据节点

如果我查看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

notes:i removed 防火墙和权限。namenode日志中没有任何错误日志。
你知道我怎么解决这个问题吗?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题