ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole" <nc...@hortonworks.com>
Subject Review Request 38257: UpgradeCatalogs should use integer specifiers
Date Thu, 10 Sep 2015 15:21:58 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38257/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez and Jonathan Hurley.


Bugs: AMBARI-13057
    https://issues.apache.org/jira/browse/AMBARI-13057


Repository: ambari


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).


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java 1981514

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog211.java c650ae7

  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog211Test.java
b04515a 

Diff: https://reviews.apache.org/r/38257/diff/


Testing
-------

Manual testing of 1000+ node db.  Automated pending


Thanks,

Nate Cole


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message