Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7324

Upgrade tool should enable the tables after upgrading the co-processors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 4.0.0, 3.6.0, 3.5.2
    • Component/s: CDAP
    • Labels:
    • Release Notes:
      Fixed a problem with the upgrade tool while upgrading HBase coprocessors.
    • Rank:
      1|hzzm8n:

      Description

      While upgrading the underlying CDH versions the steps that we recommend are

      1. Disable all cdap tables
      2. Upgrade CDH
      3. Run Upgrade tool

      This has a problem because the upgrade tool after it upgrades the co-processors, requires certain cdap system tables to be enabled. Otherwise the upgrade tool throws an error

      org.apache.hadoop.hbase.TableNotEnabledException: cdap_system:app.meta is disabled.
      	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1163) ~[hbase-client-1.2.0-cdh5.8.0.jar:na]
      	at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:303) ~[hbase-client-1.2.0-cdh5.8.0.jar:na]
      	at org.apache.hadoop.hbase.client.ScannerCallable.prepare(ScannerCallable.java:153) ~[hbase-client-1.2.0-cdh5.8.0.jar:na]
      	at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.prepare(ScannerCallableWithReplicas.java:372) ~[hbase-client-1.2.0-cdh5.8.0.jar:na]
      	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:124) ~[hbase-client-1.2.0-cdh5.8.0.jar:na]
      	at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:65) ~[hbase-client-1.2.0-cdh5.8.0.jar:na]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_67]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_67]
      	at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_67]
      

      We should fix the upgrade tool to enable all cdap tables to be enabled after we upgrade the co-processors.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsinha Rohit Sinha
                Reporter:
                sree Sreevatsan Raman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: