Storm提交jar包时出现异常

报错:

java.io.IOException:Failed on local exception:com.google.protobuf.InvalidProtocolBufferException: Protocolmessage end-group tag did not match expected tag.; Host Details :local host is: "slave1/192.168.18.117"; destination hostis: "master1":9000;

解决方法:在CDHhdfs集群中,不能使用9000端口,要使用8020端口


Thread-6-kafkaSpout-executor[33] [ERROR] Async loop died!

java.lang.NoClassDefFoundError:org/apache/curator/shaded/com/google/common/cache/CacheBuilder

原因:----hadoop版本冲突

java.lang.RuntimeException:Error preparing HdfsBolt: No FileSystem for scheme: 原因:hdfs----依赖缺失

Thread-4-bolt-executor[22] [ERROR]

org.apache.hadoop.security.AccessControlException:Permission denied: user=root, access=WRITE,inode="/tmp/root":hdfs:supergroup:drwxr-xr-x

原因 :----hdfs权限问题


本地测试时候抱错:java.lang.NoClassDefFoundError:org/apache/curator/shaded/com/google/common/cache/CacheBuilder

解决方法:添加依赖curator-client


报错 : java.lang.NoClassDefFoundError: Could not initialize classorg.apache.log4j.Log4jLoggerFactory

解决方法:有两个slf4j引发冲突,添加依赖log4j-over-slf4j


你可能感兴趣的:(Storm提交jar包时出现异常)