cloudera manager安装问题记录二

问题一

IOException thrown while collecting data from host: No route to host

 因为agent机器开启了防火墙

解决:

 service iptables stop

 

 

问题二

在以下主机上,组 'hadoop' 不包括用户 'hdfs': 

解决:

usermod -a -G hadoop hdfs

 

 

问题三

Initialization failed for block pool Block pool BP-470954207-10.108.74.237-1392171421251 (storage id ) service to osslpc7/10.108.74.237:8022
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /opt/dfs/dn is in an inconsistent state: cluster Id is incompatible with others.
	at org.apache.hadoop.hdfs.server.common.Storage.setClusterId(Storage.java:1065)
	at org.apache.hadoop.hdfs.server.datanode.DataStorage.setFieldsFromProperties(DataStorage.java:305)
	at org.apache.hadoop.hdfs.server.common.Storage.readProperties(Storage.java:916)
	at org.apache.hadoop.hdfs.server.datanode.DataStorage.doTransition(DataStorage.java:372)
	at org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:191)
	at org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:219)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.initStorage(DataNode.java:916)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.initBlockPool(DataNode.java:887)
	at org.apache.hadoop.hdfs.server.datanode.BPOfferService.verifyAndSetNamespaceInfo(BPOfferService.java:309)
	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.connectToNNAndHandshake(BPServiceActor.java:218)
	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:660)
	at java.lang.Thread.run(Thread.java:722)

 

解决:

rm -fr /opt/dfs/dn/

 

 

你可能感兴趣的:(manager)