[ 
https://issues.apache.org/jira/browse/CHUKWA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705108#action_12705108
 ] 

Eric Yang commented on CHUKWA-209:
----------------------------------

+1 on the idea.

It would look like:

ChukwaConfiguration(int TYPE)
ChukwaConfiguration(int TYPE, Configuration conf)
ChukwaConfiguration(Configuration conf)

Right?

> All M/R should get their configuration from ChukwaConfiguration
> ---------------------------------------------------------------
>
>                 Key: CHUKWA-209
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-209
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>            Reporter: Jerome Boulon
>            Assignee: Jerome Boulon
>
> Most of M/R are creating configuration on their own, instead they should use 
> a centralized configuration coming from ChukwaConfiguration.
> Add new static methods to ChukwaConfiguration in order to get configuration 
> for the agent side or the backend side.
> This should simplify the configuration management and avoid several the 
> creation of several instances of ChukwaCnfiguration with the same content.
> Ideally ChukwaConfiguration should have a private constructor to enforce the 
> usage of a single configuration per process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to