Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22286

Remove jmxetric configs from storm-site childopts during upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      During upgrades the jmxetrics references in nimbus.childopts, supervisor.childopts and worker.childopts are not getting replaced. It seems the key "content" in the regex-replace string in AMBARI-22228 is causing java.lang.NullPointerException at at org.apache.ambari.server.state.stack.upgrade.ConfigUpgradeChangeDefinition.getRegexReplacements(ConfigUpgradeChangeDefinition.java:242).

      Will post a patch with the right keys and will test it by upgrading ambari . I am not sure how to test the upgrades without actually building the package.

      Attachments

        1. AMBARI-22286_branch-2.6.patch
          4 kB
          Arun Mahadevan
        2. AMBARI-22286.patch
          4 kB
          Arun Mahadevan

        Activity

          People

            arunmahadevan Arun Mahadevan
            arunmahadevan Arun Mahadevan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: