[
https://issues.apache.org/jira/browse/HDFS-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anatoli Shein updated HDFS-10787:
---------------------------------
Attachment: HDFS-10787.HDFS-8707.001.patch
I added a getter for hdfs::Options and a constructor with no parameters for
hdfs::ConfigParser that just uses the default paths. I also updated the tools
and c++ examples to use this interface.
> libhdfs++: hdfs_configuration and configuration_loader should be accessible
> from our public API
> -----------------------------------------------------------------------------------------------
>
> Key: HDFS-10787
> URL: https://issues.apache.org/jira/browse/HDFS-10787
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Anatoli Shein
> Assignee: James Clampffer
> Attachments: HDFS-10787.HDFS-8707.000.patch,
> HDFS-10787.HDFS-8707.001.patch
>
>
> Currently, libhdfspp examples and tools all have this:
> #include "hdfspp/hdfspp.h"
> #include "common/hdfs_configuration.h"
> #include "common/configuration_loader.h"
> This is done in order to read configs and connect. We want
> hdfs_configuration and configuration_loader to be accessible just by
> including our hdfspp.h. One way to achieve that would be to create a builder,
> and would include the above libraries.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]