Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F0F390E6 for ; Mon, 17 Oct 2011 18:51:36 +0000 (UTC) Received: (qmail 6255 invoked by uid 500); 17 Oct 2011 18:51:35 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 6210 invoked by uid 500); 17 Oct 2011 18:51:35 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 6163 invoked by uid 99); 17 Oct 2011 18:51:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 18:51:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 18:51:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 48DB330D492 for ; Mon, 17 Oct 2011 18:51:12 +0000 (UTC) Date: Mon, 17 Oct 2011 18:51:12 +0000 (UTC) From: "Ben Hoyt (Updated) (JIRA)" To: dev@camel.apache.org Message-ID: <1400739994.1513.1318877472299.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1272984865.1509.1318877472147.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4555) Support nested directories with multiple segment files in the HDFS endpoint consumer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Hoyt updated CAMEL-4555: ---------------------------- Attachment: hdfs.patch > 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