hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Hansen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9537) libhdfs++: implement HDFSConfiguration class
Date Thu, 10 Dec 2015 21:36:10 GMT

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

Bob Hansen updated HDFS-9537:
    Attachment: HDFS-9537.HDFS-8707.001.patch

New patch: added a ConfigurationLoader class.

Given that the file loading is going to add state (search paths especially) and that the Configuration
class is immutable, and the template wonkiness of patch 0, I made the ConfigLoader a separate
class that is mutable and stateful and contains the single set of templates to generate the
Configuration and HdfsConfiguration classes.

I think this is cleaner, makes a clear separation between mutable and immutable, and has better
legs for the future.

> libhdfs++: implement HDFSConfiguration class
> --------------------------------------------
>                 Key: HDFS-9537
>                 URL: https://issues.apache.org/jira/browse/HDFS-9537
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>         Attachments: HDFS-9537.HDFS-8707.000.patch, HDFS-9537.HDFS-8707.001.patch
> Create a class to encode the rules for interpreting a Configuration class to create a
libhdfs++ Options object

This message was sent by Atlassian JIRA

View raw message