Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-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 8156411062 for ; Sat, 7 Jun 2014 01:31:04 +0000 (UTC) Received: (qmail 63154 invoked by uid 500); 7 Jun 2014 01:31:04 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 63106 invoked by uid 500); 7 Jun 2014 01:31:04 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 63096 invoked by uid 500); 7 Jun 2014 01:31:04 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 63093 invoked by uid 99); 7 Jun 2014 01:31:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jun 2014 01:31:04 +0000 Date: Sat, 7 Jun 2014 01:31:04 +0000 (UTC) From: "Tongjie Chen (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-3986) PigSplit to support multiple split class 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/PIG-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tongjie Chen updated PIG-3986: ------------------------------ Attachment: PIG-3986.patch.txt > PigSplit to support multiple split class > ---------------------------------------- > > Key: PIG-3986 > URL: https://issues.apache.org/jira/browse/PIG-3986 > Project: Pig > Issue Type: Improvement > Reporter: Tongjie Chen > Assignee: Tongjie Chen > Attachments: PIG-3986.patch.txt > > > Currently one PigSplit wraps one to many input split and pig assign one PigSplit to one mapper; however when it serializes the split class name, it expects all input split to be of same class, hence it serializes class name only once --- the first split (see code snippet at the end). > To support PigSplit wrap multi split class, we can serialize each split along with its own class name. This would allow each split to be deserialized/restored correctly. Of course, LoadFunc would need to dispatch input split to appropriate record reader. -- This message was sent by Atlassian JIRA (v6.2#6252)