ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 36134: upgradeCatalog json properties mapping duplicate
Date Thu, 02 Jul 2015 15:26:18 GMT

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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

In some cases property mapping can be duplicated. We need to handle this
{code}
            "SSL_KEYSTORE_PASSWORD": {
                "map-to": "xasecure.policymgr.clientssl.keystore.password",
                "from-catalog": "ranger-hdfs-plugin-properties",
                "to-catalog": "ranger-hdfs-policymgr-ssl",
                "default": "myKeyFilePassword",
                "required-services": ["RANGER"]
              },
               "SSL_KEYSTORE_PASSWORD": {
                "map-to": "",
                "from-catalog": "ranger-hbase-plugin-properties",
                "to-catalog": "ranger-hbase-policymgr-ssl",
                "default": "",
                "required-services": ["RANGER"]
              },
{code}
let's add "map-from" key


Diffs
-----

  ambari-server/src/main/python/upgradeHelper.py 466b12f 

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


Testing
-------

----------------------------------------------------------------------
Ran 257 tests in 6.407s

OK
----------------------------------------------------------------------
Total run:789
Total errors:0
Total failures:0
OK


Thanks,

Vitalyi Brodetskyi


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