Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 53612 invoked from network); 22 Mar 2008 00:13:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2008 00:13:22 -0000 Received: (qmail 69957 invoked by uid 500); 22 Mar 2008 00:13:19 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 69491 invoked by uid 500); 22 Mar 2008 00:13:18 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 69482 invoked by uid 99); 22 Mar 2008 00:13:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 17:13:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 00:12:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 433FA234C0AB for ; Fri, 21 Mar 2008 17:11:24 -0700 (PDT) Message-ID: <2129783059.1206144684261.JavaMail.jira@brutus> Date: Fri, 21 Mar 2008 17:11:24 -0700 (PDT) From: "Hairong Kuang (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3064) Exception with file globbing closures In-Reply-To: <402490044.1206117685843.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hairong Kuang updated HADOOP-3064: ---------------------------------- Attachment: inputPath.patch A patch for review. > Exception with file globbing closures > ------------------------------------- > > Key: HADOOP-3064 > URL: https://issues.apache.org/jira/browse/HADOOP-3064 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.16.1 > Reporter: Tom White > Attachments: inputPath.patch > > > Using file globbing to select various input paths, like so: > conf.setInputPath(new Path("mr/input/glob/2008/02/{02,08}")); > gives an exception: > Exception in thread "main" java.io.IOException: Illegal file pattern: > Expecting set closure character or end of range, or } for glob {02 at > 3 > at org.apache.hadoop.fs.FileSystem$GlobFilter.error(FileSystem.java:1023) > at org.apache.hadoop.fs.FileSystem$GlobFilter.setRegex(FileSystem.java:1008) > at org.apache.hadoop.fs.FileSystem$GlobFilter.(FileSystem.java:926) > at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:826) > at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:873) > at org.apache.hadoop.mapred.FileInputFormat.validateInput(FileInputFormat.java:131) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:541) > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:809) > The code for JobConf.getInputPaths tokenizes using > a comma as the delimiter, producing two paths > "mr/input/glob/2008/02/{02" and "08}". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.