Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3911

Check if HBase table is enabled before diabling table in DeployCoprocessorCLI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.6.2, v3.0.0-alpha
    • Client - CLI
    • None

    Description

      HBase tables may be disabled for operation issues and the previous interrupted DeployCoprocessorCLI, which cause the new  DeployCoprocessorCLI failed.

      2018-06-08 10:40:23,489 ERROR [pool-5-thread-6] util.DeployCoprocessorCLI:383 : Error processing kylin_bigdata_prod:KYLIN_A9520J93GU
      org.apache.hadoop.hbase.TableNotEnabledException: org.apache.hadoop.hbase.TableNotEnabledException: kylin_bigdata_prod:KYLIN_A9520J93GU
          at org.apache.hadoop.hbase.master.handler.DisableTableHandler.prepare(DisableTableHandler.java:102)
          at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:2609)
          at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:2619)
          at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:44586)
          at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2061)
          at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:125)
          at org.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:83)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      @c3-hadoop-prc-ct36.bj/10.136.14.13:33500
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
          at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
          at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
          at org.apache.hadoop.hbase.client.RpcRetryingCaller.translateException(RpcRetryingCaller.java:220)
      
      
      ingCaller.java:86)
          at org.apache.hadoop.hbase.client.HBaseAdmin.executeCallable(HBaseAdmin.java:3239)
          at org.apache.hadoop.hbase.client.HBaseAdmin.disableTableAsync(HBaseAdmin.java:919)
          at org.apache.hadoop.hbase.client.HBaseAdmin.disableTable(HBaseAdmin.java:948)
          at org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI.resetCoprocessor(DeployCoprocessorCLI.java:294)
          at org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI$ResetCoprocessorWorker.run(DeployCoprocessorCLI.java:375)
      ```

      Attachments

        Issue Links

          Activity

            People

              liushaohui Shaohui Liu
              liushaohui Shaohui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: