Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 516B24293 for ; Wed, 15 Jun 2011 18:37:09 +0000 (UTC) Received: (qmail 67618 invoked by uid 500); 15 Jun 2011 18:37:09 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 67576 invoked by uid 500); 15 Jun 2011 18:37:09 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 67568 invoked by uid 99); 15 Jun 2011 18:37:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 18:37:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 15 Jun 2011 18:37:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 10D1141973F for ; Wed, 15 Jun 2011 18:36:48 +0000 (UTC) Date: Wed, 15 Jun 2011 18:36:48 +0000 (UTC) From: "Michael White (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <317655506.7988.1308163008065.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2597) Map-side joins always empty when an input has NullWritable value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Map-side joins always empty when an input has NullWritable value ---------------------------------------------------------------- Key: MAPREDUCE-2597 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2597 Project: Hadoop Map/Reduce Issue Type: Bug Affects Versions: 0.20.2 Environment: Linux cluster Reporter: Michael White It is not uncommon to have a sorted list of data that has no specific value associated with it as input to a map-side join, e.g. as an exact-match filter. In these cases, you would typically have a value class of NullWritable. However, when performing a map-side join in Hadoop 0.20.2, we have found that any input that has value class of NullWritable results in the Mapper never getting called. I found this with a 3-way map-side join, and my colleague tells me he ran into the same issue. I have not specifically tested a 2-way join to see if the problem occurs, so it may be that the bug is specific to n-way joins for n>2 (though I suspect not). The current workaround is to use some other value type (e.g. IntWritable) and stuff an arbitrary value into it. For a join, the value class should have no bearing on the set of keys that are considered matching. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira