hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Yates (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5348) Constraint configuration loaded with bloat
Date Tue, 07 Feb 2012 23:12:59 GMT

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

Jesse Yates commented on HBASE-5348:
------------------------------------

If you don't put the false in, you get all the default hadoop configuration values (from core-default.xml
and core-site.xml). You really don't need to keep these values around in the configuration,
and even worse, they are given precedence when looking up values when adding new configs resources.
To ensure the added config is given precedence, we would have to iterate all the values in
the config to be added and to a conf.set() for each of those values - not pretty. 

If you don't load the xml files, then you just end up with an empty configuration (no default
values).
                
> Constraint configuration loaded with bloat
> ------------------------------------------
>
>                 Key: HBASE-5348
>                 URL: https://issues.apache.org/jira/browse/HBASE-5348
>             Project: HBase
>          Issue Type: Bug
>          Components: coprocessors, regionserver
>    Affects Versions: 0.94.0
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>            Priority: Minor
>         Attachments: java_HBASE-5348.patch, java_HBASE-5348.patch
>
>
> Constraints load the configuration but don't load the 'correct' configuration, but instead
instantiate the default configuration (via new Configuration). It should just be Configuration(false)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message