版本信息: apache
hadoop-0.22.0 oop
chukwa-incubating-0.5.0 spa
在Chukwa的Collector啓動過程當中以下如下錯誤: ip
INFO LocalToRemoteHdfsMover LocalToRemoteHdfsMover - remote fs name is hdfs://xx:12000
WARN LocalToRemoteHdfsMover LocalToRemoteHdfsMover - Error in LocalToHdfsMover
org.apache.hadoop.ipc.RemoteException:Server IPC version 5 cannot communicate with client version 4 hadoop
緣由分析: rem
hadoop-0.22.0使用的IPC版本爲5,而chukwa-incubating-0.5.0依賴的hadoop庫使用的IPC版本爲4。 it
解決方案: io
chukwa-incubating-0.5.0\share\chukwa\lib\目錄下,刪除hadoop-core-1.0.0.jar和hadoop-test-1.0.0.jar。 test
將hadoop目錄下的4個文件複製到chukwa-incubating-0.5.0\share\chukwa\lib\目錄下: cli
hadoop-hdfs-0.22.0.jar
hadoop-hdfs-test-0.22.0.jar
hadoop-common-0.22.0.jar
hadoop-common-test-0.22.0.jar