hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudeep Sunthankar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-16489) Configuration parsing
Date Wed, 09 Nov 2016 12:54:58 GMT

     [ https://issues.apache.org/jira/browse/HBASE-16489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sudeep Sunthankar updated HBASE-16489:
--------------------------------------
    Attachment: HBASE-16489.HBASE-14850.v4.patch

This patch consists of the foll changes:-
1) Changed hbase_configuration.cc/.h to configuration.cc/.h
2) Made ConfigData struct, member of Configuration class, which will be populated by ConfigurationLoader
3) boost::optional changed to std::experimental::optional
Separated ConfigurationLoader and Configuration. We can now load xml property files with either
default or custom paths as follows:-

ConfigurationLoader loader;
// Use loader to set/add default/custom search paths and resources resp.
loader.SetDefaultSearchPath();
loader.AddDefaultResources();
loader.SetSearchPath();
loader.AddResources();
// Use loader to load the conf with xml file as follows:-
Configuration conf;
loader.Load(conf);



> Configuration parsing
> ---------------------
>
>                 Key: HBASE-16489
>                 URL: https://issues.apache.org/jira/browse/HBASE-16489
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Sudeep Sunthankar
>            Assignee: Sudeep Sunthankar
>         Attachments: HBASE-16489.HBASE-14850.v1.patch, HBASE-16489.HBASE-14850.v2.patch,
HBASE-16489.HBASE-14850.v3.patch, HBASE-16489.HBASE-14850.v4.patch
>
>
> Reading hbase-site.xml is required to read various properties viz. zookeeper-quorum,
client retires etc.  We can either use Apache Xerces or Boost libraries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message