Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 36688 invoked from network); 3 Feb 2011 01:12:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 01:12:52 -0000 Received: (qmail 86299 invoked by uid 500); 3 Feb 2011 01:12:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 86183 invoked by uid 500); 3 Feb 2011 01:12:52 -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 86175 invoked by uid 99); 3 Feb 2011 01:12:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 01:12:51 +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; Thu, 03 Feb 2011 01:12:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 09A8018BB0D for ; Thu, 3 Feb 2011 01:12:29 +0000 (UTC) Date: Thu, 3 Feb 2011 01:12:29 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1785155069.6544.1296695549035.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1420470016.2942.1296578309166.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (MAPREDUCE-2293) Enhance MultipleOutputs to allow additional characters in the named output name 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/MAPREDUCE-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989931#comment-12989931 ] Allen Wittenauer commented on MAPREDUCE-2293: --------------------------------------------- If InputFormats can't take a file with commas or spaces, then that's a bug with InputFormat. Even so: that's not a reason to restrict the character set so gratuitously. Just because a file is generated as output doesn't mean it is going to be used for input for some other MR phase. > Enhance MultipleOutputs to allow additional characters in the named output name > ------------------------------------------------------------------------------- > > Key: MAPREDUCE-2293 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2293 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Affects Versions: 0.21.0 > Reporter: David Rosenstrauch > Assignee: Harsh J Chouraria > Priority: Minor > Attachments: mapreduce.mo.removecheck.r1.diff > > > Currently you are only allowed to use alpha-numeric characters in a named output name in the MultipleOutputs class. This is a bit of an onerous restriction, as it would be extremely convenient to be able to use non alpha-numerics in the name too. (E.g., a '.' character would be very helpful, so that you can use the named output name for holding a file name/extension. Perhaps '-' and a '_' characters as well.) > The restriction seems to be somewhat arbitrary - it appears to be only enforced in the checkTokenName method. (Though I don't know if there's any downstream impact by loosening this restriction.) > Would be extremely helpful/useful to have this fixed though! -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira