Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-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 44FC417748 for ; Wed, 28 Jan 2015 14:51:34 +0000 (UTC) Received: (qmail 3699 invoked by uid 500); 28 Jan 2015 14:51:34 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 3652 invoked by uid 500); 28 Jan 2015 14:51:34 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 3640 invoked by uid 500); 28 Jan 2015 14:51:34 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 3637 invoked by uid 99); 28 Jan 2015 14:51:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 14:51:34 +0000 Date: Wed, 28 Jan 2015 14:51:34 +0000 (UTC) From: "mac champion (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CRUNCH-491) Add an Xml File Source MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CRUNCH-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295227#comment-14295227 ] mac champion commented on CRUNCH-491: ------------------------------------- No problem, I ran into the exact same issues while working on CSV input. I ended up just making everything configurable that I could: https://github.com/apache/crunch/blob/master/crunch-core/src/main/java/org/apache/crunch/io/text/csv/CSVInputFormat.java#L188 And then trying to deal with only characters and strings: https://github.com/apache/crunch/blob/master/crunch-core/src/main/java/org/apache/crunch/io/text/csv/CSVLineReader.java#L397 > Add an Xml File Source > ---------------------- > > Key: CRUNCH-491 > URL: https://issues.apache.org/jira/browse/CRUNCH-491 > Project: Crunch > Issue Type: New Feature > Components: Core > Affects Versions: 0.11.0 > Reporter: Christian Tzolov > Assignee: Christian Tzolov > Priority: Minor > Labels: inputformat, source, xml > Attachments: CRUNCH-491.patch, CRUNCH-491b.patch > > > Large XML documents that are composed of a repetitive XML elements can be broken into chunks delimited by the start and end tags of those elements. > The XmlSource should process XML files and extract out the XML between the pre-configured start / end tags. -- This message was sent by Atlassian JIRA (v6.3.4#6332)