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

Uma Maheswara Rao G commented on HADOOP-4905:
---------------------------------------------

This is already handled in trunk!

But in 20 branches, we don't have the HdfsConfiguration wrapper upon 
Configuration class to move hdfs specific static block (configs) to 
Configuration classes. 

If we want to port this to 20 branch we may need to wrapper upon configuration 
class first, then we can call init in all the places, instead of duplicating 
that.
@ Raghu / Doug, are you expecting the fix for 20 branch also?

> static initializers for default config files duplicate code
> -----------------------------------------------------------
>
>                 Key: HADOOP-4905
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4905
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf
>    Affects Versions: 0.20.0
>            Reporter: Doug Cutting
>            Priority: Minor
>              Labels: newbie
>
> The default config files are loaded by static initializers.  The code in 
> these initializers is two lines that contains string literals.  This is 
> fragile and duplicated code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to