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

Upgrading from 3.5 to 4.1 doesn't enable TMS tables

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: App Fabric
    • Labels:
      None
    • Release Notes:
      Fixed an issue in the Transactional Messaging System (TMS) table upgrade, where the TMS table could be left in a disabled state if the upgrade tool is run after an upgraded CDAP Master is started and then stopped.
    • Rank:
      1|hzzuyf:

      Description

      Upgrading a CM cluster from 3.5 and 4.1, running upgrade tool and restarting CDAP does not enable TMS tables. The HBase table is upgraded with the right co-processors and the following message is thrown in messaging service logs

      2017-02-15 01:16:45,008 - ERROR [messaging.service-worker-thread-3:c.c.c.c.HttpExceptionHandler@68] - Unexpected error: request=POST /v1/namespaces/system/topics/metrics8/poll user=<null>:
      org.apache.hadoop.hbase.TableNotEnabledException: cdap_system:tms.message is disabled.
      	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1163) ~[hbase-client-1.2.0-cdh5.8.4.jar:na]
      	at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:313) ~[hbase-client-1.2.0-cdh5.8.4.jar:na]
      	at org.apache.hadoop.hbase.client.ScannerCallable.prepare(ScannerCallable.java:153) ~[hbase-client-1.2.0-cdh5.8.4.jar:na]
      	at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.prepare(ScannerCallableWithReplicas.java:393) ~[hbase-client-1.2.0-cdh5.8.4.jar:na]
      	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:124) ~[hbase-client-1.2.0-cdh5.8.4.jar:na]
      	at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:80) ~[hbase-client-1.2.0-cdh5.8.4.jar:na]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
      

        Attachments

          Activity

            People

            • Assignee:
              gokul Gokul Gunasekaran
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: