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

James Clampffer commented on HDFS-9538:
---------------------------------------

"To be able to re-use the calculations for Java classpaths as a search path for 
the config files."
Sounds good, makes sense.

"I took out the "file_exists" call, and just try to read from the file. If we 
can't then we go on as if it doesn't exist."
Nice, that works.

"We now check the results and just fail the test if something goes wrong."
Sounds good to me.

+1, I'll commit sometime tomorrow unless someone else spots an issue.

> libhdfs++: load configuration from files
> ----------------------------------------
>
>                 Key: HDFS-9538
>                 URL: https://issues.apache.org/jira/browse/HDFS-9538
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>         Attachments: HDFS-9538.HDFS-8707.003.patch, 
> HDFS-9538.HDFS-9537.000.patch, HDFS-9538.HDFS-9537.001.patch, 
> HDFS-9538.HDFS-9537.002.patch
>
>
> One goal of the Configuration classes are to allow the consumers of the 
> libhdfs++ library to deploy client applications into hadoop edge nodes and 
> have them pick up the Hadoop configuration that has been deployed there.
> Note that we also need to support the use case where the consumer application 
> will manage Hadoop configuration files itself, or will handle all 
> configuration out-of-band.
> libhdfs++ should be able to read files that are found in the field and easily 
> construct an instance that will communicate with the cluster.



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

Reply via email to