1. 程式人生 > >hadoop叢集中部分datanode有程序但不是active

hadoop叢集中部分datanode有程序但不是active

org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.protocol.UnregisteredNodeException): Data node DatanodeRegistration(192.168.68.103, datanodeUuid=000c785c-633b-42ae-8eaa-4f1b0f8bb550, infoPort=50075, ipcPort=50020, storageInfo=lv=-55;cid=CID-80fbc1a8-ca80-4625-83df-5ae4e1ab633e;nsid=2034798260;c=0) is attempting to report storage ID 000c785c-633b-42ae-8eaa-4f1b0f8bb550. Node 192.168.68.102:50010 is expected to serve this storage.
...... ...... 原因:叢集中不同機器上的datanode的cid重複(我是由於安裝是拷貝過去導致的)    修改成不一樣的就ok了  修改${hadoop-home}/tmp/dfs/data/current/VERSION      修改cid