Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 44062 invoked from network); 23 Nov 2007 18:04:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 18:04:10 -0000 Received: (qmail 41112 invoked by uid 500); 23 Nov 2007 18:03:56 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 41075 invoked by uid 500); 23 Nov 2007 18:03:55 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 41066 invoked by uid 99); 23 Nov 2007 18:03:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 10:03:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 18:04:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4586071420D for ; Fri, 23 Nov 2007 10:03:45 -0800 (PST) Message-ID: <4060.1195841025280.JavaMail.jira@brutus> Date: Fri, 23 Nov 2007 10:03:45 -0800 (PST) From: "stack (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2271) chmod in ant package target fails In-Reply-To: <10742133.1195832083194.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-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545100 ] stack commented on HADOOP-2271: ------------------------------- Maybe just ubuntu? I tried w/ 1.5 and 1.6. {code} [stack@aa0-000-12 hadoop-trunk]$ pwd/home/stack/long-path/long-path/long-path/long-path/long-path/hadoop-trunk [stack@aa0-000-12 hadoop-trunk]$ ~/bin/ant/bin/ant clean package ... [copy] Copied 106 empty directories to 3 empty directories under /home/stack/long-path/long-path/long-path/long-path/long-path/hadoop-trunk/build/hadoop-0.16.0-dev/docs [copy] Copying 4 files to /home/stack/long-path/long-path/long-path/long-path/long-path/hadoop-trunk/build/hadoop-0.16.0-dev [copy] Copying 1200 files to /home/stack/long-path/long-path/long-path/long-path/long-path/hadoop-trunk/build/hadoop-0.16.0-dev/src [copy] Copying 1 file to /home/stack/long-path/long-path/long-path/long-path/long-path/hadoop-trunk/build/hadoop-0.16.0-devBUILD SUCCESSFULTotal time: 43 seconds {code} > chmod in ant package target fails > --------------------------------- > > Key: HADOOP-2271 > URL: https://issues.apache.org/jira/browse/HADOOP-2271 > Project: Hadoop > Issue Type: Bug > Components: build > Affects Versions: 0.15.0 > Reporter: Adrian Woodhead > Attachments: HADOOP-2271-1.patch > > > If you checkout the trunk to a folder long than /tmp (in my case it is "/home/adrian/workspace/hadoop-trunk") and you execute the command: > ant clean package > You get the following error: > BUILD FAILED > /home/adrian/workspace/hadoop-trunk/build.xml:730: Execute failed: java.io.IOException: Cannot run program "chmod": java.io.IOException: error=7, Argument list too long > I also tried this from the folder "/tmp/trunk" and the package target worked fine so I imagine the argument list is becoming too long due to the folder being longer. A simple fix for this should be to set the "parallel" attribute on chmod to false. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.