[ 
https://issues.apache.org/jira/browse/AMBARI-17641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380964#comment-15380964
 ] 

Sriharsha Chintalapani edited comment on AMBARI-17641 at 7/16/16 10:09 PM:
---------------------------------------------------------------------------

[~jaimin] currently there is no clear way to add couple of configs via stack 
advisor in storm.py or params_linux.py
https://github.com/hortonworks/ambari/blob/apache-ref/trunk/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/STORM/package/scripts/storm.py
all the dictionaries coming to params_linux.py or storm.py are immutable so I 
won't be able to add them to config without hacking around to convert the 
dictionaries from immutable to mutable and back to immutable. 

I am adding a patch thats not working be cause of immutable structure. 
Assigning this back to you please fix how you see fit.




was (Author: sriharsha):
[~jaimin] currently there is no clear way to add couple of configs via stack 
advisor in storm.py or params_linux.py
https://github.com/hortonworks/ambari/blob/apache-ref/trunk/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/STORM/package/scripts/storm.py
all the dictionaries coming to params_linux.py or storm.py are immutable so I 
won't be able to add them to config without hacking around to convert the 
dictionaries from immutable to mutable and back to immutable. 

More over we are driving checking which version certain case should be handle 
via StackFeatures.py. This is by far the most rigid way to add a feature for 
stack dev.
As a stack dev why I need to go and add code to core ambari libraries. This 
should be driven by a spec file which should reside inside stacks. 
Unfortunately now I've to go and add bunch of stuff in core libs and figure out 
how to test that part.

I am adding a patch thats not working be cause of immutable structure. 
Assigning this back to you please fix how you see fit.



> Add storm impersonation authorized along with default ACL
> ---------------------------------------------------------
>
>                 Key: AMBARI-17641
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17641
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Sriharsha Chintalapani
>            Assignee: Sriharsha Chintalapani
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17641.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to