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

Running Upgrade tool with argument upgrade_hbase fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Fixed a bug with upgrading hbase tables using upgrade tool.
    • Rank:
      1|hzz6ef:

      Description

      Provisioned a cluster,
      Beamed release 3.3.1 to this cluster,
      disabled all hbase tables,
      ran upgrade tool with upgrade_hbase argument
      this fails with the following exception

      Failed to perform action 'UPGRADE_HBASE'. Reason: 'cdap_system:datasets.instance is disabled.'.
      org.apache.hadoop.hbase.TableNotEnabledException: cdap_system:datasets.instance is disabled.
      	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1096)
      	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1086)
      	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getRegionLocation(ConnectionManager.java:906)
      	at org.apache.hadoop.hbase.client.RegionServerCallable.prepare(RegionServerCallable.java:78)
      	at org.apache.hadoop.hbase.client.ScannerCallable.prepare(ScannerCallable.java:118)
      	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:120)
      	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:97)
      	at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:264)
      	at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:169)
      	at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:164)
      	at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:107)
      	at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:769)
      	at co.cask.cdap.data.tools.DatasetSpecificationUpgrader.upgrade(DatasetSpecificationUpgrader.java:91)
      	at co.cask.cdap.data.tools.UpgradeTool.performCoprocessorUpgrade(UpgradeTool.java:407)
      	at co.cask.cdap.data.tools.UpgradeTool.performHBaseUpgrade(UpgradeTool.java:395)
      	at co.cask.cdap.data.tools.UpgradeTool.doMain(UpgradeTool.java:324)
      	at co.cask.cdap.data.tools.UpgradeTool.main(UpgradeTool.java:413)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shankar Shankar Selvam
                Reporter:
                shankar Shankar Selvam
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: