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

Cloudera manager Upgrade status is Green is when Upgrade tool failed.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.1
    • Component/s: CSD
    • Labels:
      None
    • Release Notes:
      Fixed Upgrade Tool to return non-zero exit status on error during upgrade
    • Rank:
      1|hzz6i7:

      Description

      Steps to reproduce:
      1) Upgrade to new CDAP version
      2) Disable all HBase tables
      3) Run CDAP Upgrade tool.
      4) Upgrade will fail, as Dataset spec upgrade expects table to be enabled, logs would show failure, but status in CM is green.

      we should look at return code and use that to surface accurate status of upgrade.

      Also, Upgrade Tool should log everything instead of writing to stdout.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: