Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 518C218DC9 for ; Tue, 28 Jul 2015 21:22:05 +0000 (UTC) Received: (qmail 2410 invoked by uid 500); 28 Jul 2015 21:22:05 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 2288 invoked by uid 500); 28 Jul 2015 21:22:05 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 2145 invoked by uid 99); 28 Jul 2015 21:22:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 21:22:05 +0000 Date: Tue, 28 Jul 2015 21:22:05 +0000 (UTC) From: "Hitesh Shah (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-2636) MRInput and MultiMRInput should work for cases when there are 0 physical inputs 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/TEZ-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645068#comment-14645068 ] Hitesh Shah commented on TEZ-2636: ---------------------------------- Patch seems fine. General comment on MRInput ( unrelated to patch to some extent ): - if the input is to be initialized via events, why is "getContext().inputIsReady();" being invoked even before the input has received the event? Should it not be the case that isReady() should only be done if input count is 0 or if input initialized from splits in dist cache? > MRInput and MultiMRInput should work for cases when there are 0 physical inputs > ------------------------------------------------------------------------------- > > Key: TEZ-2636 > URL: https://issues.apache.org/jira/browse/TEZ-2636 > Project: Apache Tez > Issue Type: Bug > Affects Versions: 0.4.0 > Reporter: Siddharth Seth > Assignee: Siddharth Seth > Attachments: TEZ-2636.1.txt > > > It's possible that an Input is setup without any actual data. This is especially valid when a task is processing multiple MRInputs. One side has data, but the other does not. In such cases - we currently end up generating an error. -- This message was sent by Atlassian JIRA (v6.3.4#6332)