Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8987

ProtobufUtil.toException doesn't handle plain RemoteException, gets a NoSuchMethodException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.2
    • None
    • None
    • Reviewed

    Description

      From this build: https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/622/testReport/junit/org.apache.hadoop.hbase.replication/TestReplicationKillMasterRSCompressed/killOneMasterRS/

      The client never recovered from the RS that was killed, it retried 35 times this:

      13-07-18 12:20:08,786 WARN  [hbase-table-pool-93-thread-2] client.AsyncProcess$1(413): The call to the RS failed, we don't know where we stand. location=region=test,ggg,1374149978397.552678a9e3bcf94d8621486842fd5f66., hostname=juno.apache.org,36408,1374149970324, seqNum=1
      java.io.IOException: java.lang.NoSuchMethodException: org.apache.hadoop.ipc.RemoteException.<init>(java.lang.String)
      	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.toException(ProtobufUtil.java:1219)
      	at org.apache.hadoop.hbase.protobuf.ResponseConverter.getResults(ResponseConverter.java:85)
      	at org.apache.hadoop.hbase.client.MultiServerCallable.call(MultiServerCallable.java:103)
      	at org.apache.hadoop.hbase.client.MultiServerCallable.call(MultiServerCallable.java:43)
      	at org.apache.hadoop.hbase.client.ServerCallable.withoutRetries(ServerCallable.java:259)
      	at org.apache.hadoop.hbase.client.AsyncProcess$1.run(AsyncProcess.java:411)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NoSuchMethodException: org.apache.hadoop.ipc.RemoteException.<init>(java.lang.String)
      	at java.lang.Class.getConstructor0(Class.java:2715)
      	at java.lang.Class.getDeclaredConstructor(Class.java:1987)
      	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.toException(ProtobufUtil.java:1215)
      	... 11 more
      

      Attachments

        1. 8987.txt
          3 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: