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

upgrade tool fails with missing property

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: Ambari Service, CDAP
    • Labels:
      None
    • Rank:
      1|i00hlr:

      Description

      When upgrading from CDAP 5.0 to 5.1 the upgrade tools fails with the following error.

      2018-09-14 18:16:49,823 - INFO  [main:c.c.c.d.d.InMemoryDatasetFramework@254] - Created dataset dataset:system.usage.registry of type UsageDataset
      Failed to perform action 'UPGRADE'. Reason: 'Property '{}' must be given when creating job queue dataset [scheduler.job.queue.num.partitions]'.
      2018-09-14 18:16:49,875 - ERROR [main:c.c.c.d.t.UpgradeTool@463] - Failed to upgrade ...
      java.lang.NullPointerException: Property '{}' must be given when creating job queue dataset [scheduler.job.queue.num.partitions]
      

      This new property(scheduler.job.queue.num.partitions) was added to 5.1 in this PR https://github.com/caskdata/cdap/pull/10584

        Attachments

          Activity

            People

            • Assignee:
              vinisha Vinisha Shah
              Reporter:
              mattwuenschel Matt Wuenschel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: