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

Backport HBASE-8372 'Provide mutability to CompoundConfiguration' to 0.94

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.13
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In the email thread: http://search-hadoop.com/m/dcqod1uy32h
      yonghu encountered the following exception when he tried to retrieve HTableInterface:

      ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException:
      Failed 1 action: org.apache.hadoop.hbase.DoNotRetryIOException:
      Coprocessor:
      'org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionEnvironment@9a99eb'
      threw: 'java.lang.UnsupportedOperationException: Immutable Configuration'
      and has been removedfrom the active coprocessor set.
          at
      org.apache.hadoop.hbase.coprocessor.CoprocessorHost.handleCoprocessorThrowable(CoprocessorHost.java:740)
          at
      org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.prePut(RegionCoprocessorHost.java:810)
          at
      org.apache.hadoop.hbase.regionserver.HRegion.doPreMutationHook(HRegion.java:2196)
          at
      org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2172)
          at
      org.apache.hadoop.hbase.regionserver.HRegionServer.multi(HRegionServer.java:3811)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at
      org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:320)
          at
      org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1426)
      Caused by: java.lang.UnsupportedOperationException: Immutable Configuration
          at
      org.apache.hadoop.hbase.regionserver.CompoundConfiguration.set(CompoundConfiguration.java:484)
          at
      org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.ensureZookeeperTrackers(HConnectionManager.java:721)
          at
      org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:986)
          at
      org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:961)
          at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:251)
          at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:243)
          at
      org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getTable(HConnectionManager.java:671)
          at
      org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getTable(HConnectionManager.java:658)
          at
      CDCTrigger.TriggerForModification.prePut(TriggerForModification.java:61)
          at
      org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.prePut(RegionCoprocessorHost.java:808)
          ... 9 more
      : 1 time, servers with issues: hans-laptop:60020
      

      CompoundConfiguration is mutable in 0.96 and beyond.
      This should be backported to 0.94

        Attachments

        1. 9819.txt
          20 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                yuzhihong@gmail.com Ted Yu
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: