not logged in | [Login]

AsyncHbase: NoSuchMethodError parseUnknownField

AsyncHbase 1.7.1 depends on protobuf-java 2.5.0. Depending on protobuf-java > 2.5.0 caused the stack trace below. Resolved by resolving protobuf-java to 2.5.0.

ERROR [2016-05-08 02:15:01,047] org.apache.zookeeper.ClientCnxn: Caught unexpected throwable
! java.lang.NoSuchMethodError: org.hbase.async.generated.ZooKeeperPB$MetaRegionServer.parseUnknownField(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;I)Z
! at org.hbase.async.generated.ZooKeeperPB$MetaRegionServer.<init>(ZooKeeperPB.java:96) ~[asynchbase-1.7.1.jar:na]
! at org.hbase.async.generated.ZooKeeperPB$MetaRegionServer.<init>(ZooKeeperPB.java:62) ~[asynchbase-1.7.1.jar:na]
! at org.hbase.async.generated.ZooKeeperPB$MetaRegionServer$1.parsePartialFrom(ZooKeeperPB.java:137) ~[asynchbase-1.7.1.jar:na]
! at org.hbase.async.generated.ZooKeeperPB$MetaRegionServer$1.parsePartialFrom(ZooKeeperPB.java:132) ~[asynchbase-1.7.1.jar:na]
! at org.hbase.async.generated.ZooKeeperPB$MetaRegionServer$Builder.mergeFrom(ZooKeeperPB.java:409) ~[asynchbase-1.7.1.jar:na]
! at org.hbase.async.generated.ZooKeeperPB$MetaRegionServer$Builder.mergeFrom(ZooKeeperPB.java:324) ~[asynchbase-1.7.1.jar:na]
! at com.google.protobuf.AbstractMessageLite$Builder.mergeFrom(AbstractMessageLite.java:126) ~[protobuf-java-2.6.0.jar:na]
! at com.google.protobuf.AbstractMessageLite$Builder.mergeFrom(AbstractMessageLite.java:180) ~[protobuf-java-2.6.0.jar:na]
! at org.hbase.async.HBaseClient$ZKClient$ZKCallback.handleMetaZnode(HBaseClient.java:3753) ~[asynchbase-1.7.1.jar:na]
! at org.hbase.async.HBaseClient$ZKClient$ZKCallback.processResult(HBaseClient.java:3621) ~[asynchbase-1.7.1.jar:na]
! at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:558) [zookeeper-3.4.5.jar:3.4.5-1392090]
! at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:495) [zookeeper-3.4.5.jar:3.4.5-1392090]