[ 
https://issues.apache.org/jira/browse/HADOOP-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609281#action_12609281
 ] 

Hemanth Yamijala commented on HADOOP-3479:
------------------------------------------

Summary of the changes in the patch:

2 changes are made to the core Configuration class:

- Added a new constructor that can be used to avoid loading the default 
resources (hadoop-site and hadoop-defaults)
- Added a new API to reload configuration, by clearing the current list of 
properties, overlay and final parameters. The next set of calls will cause the 
data structures to be filled again from the resources that are already added. 
We needed this functionality for the resource manager configuration. I don't 
know enough about the Configuration class's usage to check if this API addition 
is valid or not. If there are things I have missed, and this API is not 
suitable for Configuration, it can be implemented only for the resource manager 
class.

In addition to the above, I've added a ResourceManagerConf class that is 
package private to org.apache.hadoop.mapred, and provides getter and setter 
methods for various configuration parameters needed for the resource manager. 
It also provides an option to print out the options to a standard output. This 
will facilitate building the pretty printing tools that Owen mentioned above.

Added unit tests for both Configuration and ResourceManagerConf. 

Comments please.

> Implement configuration items useful for Hadoop resource manager (v1)
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-3479
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3479
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Hemanth Yamijala
>            Assignee: Hemanth Yamijala
>         Attachments: 3479.1.patch, 3479.2.patch, 3479.patch
>
>
> HADOOP-3421 lists requirements for a new resource manager for Hadoop. 
> Implementation for these will require support for new configuration items in 
> Hadoop. This JIRA is to define such configuration, and track it's 
> implementation.

-- 
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