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

deleted datasets cause upgrade tool nullpointer exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.1
    • Component/s: CDAP
    • Labels:
      None
    • Release Notes:
      Fixed a bug in the upgrade tool where deleted datasets would cause it to throw a NullPointerException.
    • Rank:
      1|hzz5xr:

      Description

      I ran the 3.3.0 upgrade tool on a cluster that already has 3.3.0 installed. At the end of the stdout log i noticed a nullpointer exception. full log attached.

      Failed to perform action 'UPGRADE'. Reason: 'null'.
      java.lang.NullPointerException
              at co.cask.cdap.data.tools.DatasetSpecificationUpgrader.updateTTLInSpecification(DatasetSpecificationUpgrader.java:131)
              at co.cask.cdap.data.tools.DatasetSpecificationUpgrader.upgrade(DatasetSpecificationUpgrader.java:103)
              at co.cask.cdap.data.tools.UpgradeTool.performCoprocessorUpgrade(UpgradeTool.java:407)
              at co.cask.cdap.data.tools.UpgradeTool.performUpgrade(UpgradeTool.java:378)
              at co.cask.cdap.data.tools.UpgradeTool.doMain(UpgradeTool.java:307)
              at co.cask.cdap.data.tools.UpgradeTool.main(UpgradeTool.java:413)
      

      Cluster was:
      CDAP 3.3.0
      centos7
      installed via Cloudera Manager, CSD 3.3.0

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              derek Derek Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: