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

UpgradeCatalogs should use integer specifiers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.1
    • 2.1.2
    • ambari-server
    • 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

        1. AMBARI-13057.patch
          6 kB
          Nate Cole

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: