ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 30731: Ambari 1.7 - Storm Configuration has duplicate 'nimbus.authorizer' value
Date Fri, 06 Feb 2015 15:57:39 GMT

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

Review request for Ambari and Sid Wagle.


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


Repository: ambari


Description
-------

When we add a custom parameter for Storm (in storm-site),  
nimbus.authorizer with value
'com.xasecure.authorization.storm.authorizer.XaSecureStormAuthorizer', the
Ambari generate duplicate configuration entries as follows:

  1. ===============================
  2. pwd  
/etc/storm/conf

  3. grep 'nimbus.authorizer' storm.yaml  
nimbus.authorizer :
'com.xasecure.authorization.storm.authorizer.XaSecureStormAuthorizer'  
nimbus.authorizer:
"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer"

  4. ================================

This cause the custom authorization to fail!


Diffs
-----

  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/kerberos.json 42c3df9 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/storm.yaml.j2
e6eed41 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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