[ https://issues.apache.org/jira/browse/CAMEL-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130414#comment-13130414 ]
Claus Ibsen commented on CAMEL-4555: ------------------------------------ Ben do you mind re-attaching your patch and make sure you mark [x] in grant license to Apache. eg there should be an Apache feather icon at the attachments. > Support nested directories with multiple segment files in the HDFS endpoint > consumer > ------------------------------------------------------------------------------------ > > Key: CAMEL-4555 > URL: https://issues.apache.org/jira/browse/CAMEL-4555 > Project: Camel > Issue Type: Improvement > Components: camel-hdfs > Affects Versions: 2.8.1 > Reporter: Ben Hoyt > Labels: hdfs > Attachments: hdfs.patch > > Original Estimate: 72h > Remaining Estimate: 72h > > A common pattern in HDFS is for multiple segment files underneath a given > directory, representing the fragments of data. Lots of tools understand to > automatically merge these segment files (ie hadoop fs -getmerge, pig script > loaders). This patch does the same for the HDFS consumer, using a temporary > local directory for the merging. > Additionally, tools like pig and oozie understand to look for a _SUCCESS file > in one of these directories containing segments. This file indicates that > the segments have been completely written. This patch additionally skips the > directory if a _SUCCESS file is not present. -- 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