使用hive时,报错Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken): Given NMToken for application : appattempt_1604912471971_0010_000001 is not valid for current node manager.expected : n3:45454 found : n4:45454
从错误提示可以看出:主机n3、n4出现了不一致的问题,具体可
参考:
https://community.cloudera.com/t5/Support-Questions/appattempt-xxxx123-is-not-valid-for-current-node-manager/td-p/60754
登陆集群,检查各个节点的域名配置/etc/hosts,发现确实有一台主机配置有误,将同1个地址配置了n3、n4两个不同的域名
192.168.117.64 n3
192.168.117.64 n4
修正以后解决
网友评论