protocol buffers - Apache Apex CLI launch error - protobuf -
i'm trying launch apa file apache apex cli (version 3.4) on hadoop cluster running 2.7.4-snapshot , protobuf v2.6.1 , following error:
java.lang.nosuchmethoderror: com.google.protobuf.lazystringlist.getunmodifiableview()lcom/google/protobuf/lazystringlist; @ org.apache.hadoop.yarn.proto.yarnserviceprotos$getapplicationsrequestproto$builder.buildpartial(yarnserviceprotos.java:17322) @ org.apache.hadoop.yarn.proto.yarnserviceprotos$getapplicationsrequestproto$builder.build(yarnserviceprotos.java:17310) @ org.apache.hadoop.yarn.api.protocolrecords.impl.pb.getapplicationsrequestpbimpl.mergelocaltoproto(getapplicationsrequestpbimpl.java:79) @ org.apache.hadoop.yarn.api.protocolrecords.impl.pb.getapplicationsrequestpbimpl.getproto(getapplicationsrequestpbimpl.java:69) @ org.apache.hadoop.yarn.api.impl.pb.client.applicationclientprotocolpbclientimpl.getapplications(applicationclientprotocolpbclientimpl.java:249)
any ideas wrong or how can debug this? much.
check application package not contain hadoop-xxx artifacts (those provided cluster) or conflicting versions of transitive dependencies of those. if applicable can use
mvn dependency:tree
to find out how included (and exclude them).
Comments
Post a Comment