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

[email protected] commented on FLUME-969:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4010/
-----------------------------------------------------------

Review request for Flume.


Summary
-------

This is a first cut for the library that does the syntactical validation of 
config files. I would like feedback on naming conventions for the errors and 
better ways to pass data around. Basically this patch is meant to demonstrate 
the fundamental idea.


This addresses bug FLUME-969.
    https://issues.apache.org/jira/browse/FLUME-969


Diffs
-----

  flume-ng-node/pom.xml b9b062e 
  
flume-ng-node/src/main/java/org/apache/flume/conf/properties/FlumeConfiguration.java
 d66f6d1 
  
flume-ng-node/src/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java
 97f72e1 
  pom.xml d785762 

Diff: https://reviews.apache.org/r/4010/diff


Testing
-------

I will add tests once I get initial feedback.


Thanks,

Hari


                
> Need a library that would allow external tools to parse and validate flume 
> properties file configuration
> --------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-969
>                 URL: https://issues.apache.org/jira/browse/FLUME-969
>             Project: Flume
>          Issue Type: Task
>    Affects Versions: v1.0.0
>            Reporter: Arvind Prabhakar
>
> Currently the configuration provider implementation encompasses all the 
> syntactic and structural validation rules for loading the configuration. 
> Externalizing this functionality to a library will allow external tools to 
> easily operate on flume configuration files and be able to help parse and 
> validate these files.

--
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

        

Reply via email to