異常解決
一、401 Unauthorized: ERROR Failed to connect to newly launched supervisor. Agent will exit
這是因爲在主節點上啓動了Agent後,又將Agent scp到了其餘節點上致使的,首次啓動Agent,它會生成一個uuid,路徑爲:/opt/cm-XXX/lib/cloudera-scm-agent/uuid,這樣的話每臺機器上的Agent的uuid都是同樣的了,就會出現紊亂的狀況。
解決方案:
刪除/opt/XXXX/lib/cloudera-scm-agent/目錄下的全部文件。
清空主節點CM數據庫。
二、java.io.IOException: Incompatible clusterIDs in /dfs/dn
Check your hdfs-site.xml file to see where dfs.data.dir is pointing to
and delete that folder
and then restart the datanode daemon on the machine
刪除linux下/dfs/dn數據
三、cloudera java.io.IOException: No space left on device
是由於hadoop數據空間不夠
四、cloudera org.apache.hadoop.hbase.TableExistsException: hbase:namespace
刪除zookeeper目錄下的hbase