我是蜜蜂和紗線的新蜜蜂,我沒有任何其他配置用於我的新的快速ambari機器。 ambari版本是最新的,這裏是yarn.py地址: ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py無法重新啓動紗線節點管理器
我發現了一些潛在的解決方案,如thie,https://community.hortonworks.com/questions/11907/nodemanager-fails-to-start-io-error-lock.html和https://reviews.apache.org/r/38098/diff/1/,但是,它不起作用。
我已經提供了日誌目錄的所有權利。
2016-05-24 11:36:17,712 FATAL nodemanager.NodeManager (NodeManager.java:initAndStartNodeManager(528)) - Error starting NodeManager
org.apache.hadoop.service.ServiceStateException: org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /data/var/log/hadoop-yarn/nodemanager/recovery-state/yarn-nm-state/LOCK: Permission denied
at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:172)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartRecoveryStore(NodeManager.java:177)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:219)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:525)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:573)
Caused by: org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /data/var/log/hadoop-yarn/nodemanager/recovery-state/yarn-nm-state/LOCK: Permission denied
at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
at org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService.initStorage(NMLeveldbStateStoreService.java:930)
at org.apache.hadoop.yarn.server.nodemanager.recovery.NMStateStoreService.serviceInit(NMStateStoreService.java:204)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
... 5 more
2016-05-24 11:36:17,738 INFO nodemanager.NodeManager (LogAdapter.java:info(45)) - SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NodeManager at hadoop134.linesum/192.168.21.134
檢查/數據的權限。當您嘗試更改權限時,不要忘記使用「-R」。例如:'chmod -R 655/data' – BruceWayne