[
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:15 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.
More over we are currently driving any special case handling via StackFeature
class. This feels very rigid for stack developers. I as a stack developer
shouldn't be writing code or changing adding to constants.py in ambari-common.
This should be handled via config file under stacks.
I am adding a patch thats not working because of storm-site 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.
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)