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

UpgradeCatalogs should use integer specifiers

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: ambari-server
    • Labels:
      None

      Description

      Every invocation of MessageFormat.format() should use a number specifier:

      {0,number,#}

      where a long is used to build queries.

      This issue can occur with any Ambari DB when the cluster has 1000+ components. Therefore, there is a high risk of this problem occurring on a cluster with 200+ hosts (which translates to 1000+ components, assuming 5 components per host).

        Attachments

          Activity

            People

            • Assignee:
              ncole@hortonworks.com Nate Cole
              Reporter:
              ncole@hortonworks.com Nate Cole
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: