You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Adrian Woodhead (JIRA)" <ji...@apache.org> on 2007/11/23 16:34:43 UTC
[jira] Created: (HADOOP-2271) chmod in ant package target fails
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
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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545088 ]
stack commented on HADOOP-2271:
-------------------------------
+1 on patch. Looks good. Applied for me and it ran w/o issue. But, on my local machine at least, I do not have original problem of 'ant clean package' failing.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546637 ]
Adrian Woodhead commented on HADOOP-2271:
-----------------------------------------
Aah ok, that makes sense, I'll assign it back tomyself then, good to know how you guys work as when I've used Jira in the past the person who it is assigned it is the one who is responsible for whatever happens next. Thanks for the clarification.
> 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
> Assignee: 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.
[jira] Assigned: (HADOOP-2271) chmod in ant package target fails
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley reassigned HADOOP-2271:
-------------------------------------
Assignee: Adrian Woodhead
> 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
> Assignee: 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.
[jira] Updated: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Woodhead updated HADOOP-2271:
------------------------------------
Status: Open (was: Patch Available)
Cancelling so can re-apply patch now that findbugs appears to be working again
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546470 ]
Owen O'Malley commented on HADOOP-2271:
---------------------------------------
Sorry, I was just trying to sweep through and assign owners so that later we can figure out who did what. I like to be able to get the list of contributers and how many patches they have submitted. It helps when looking for new committers if the fixed jiras are assigned to the person who submitted the patch.
> 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.
[jira] Updated: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Woodhead updated HADOOP-2271:
------------------------------------
Status: Patch Available (was: Open)
Patch available.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545094 ]
stack commented on HADOOP-2271:
-------------------------------
mac os x 10.4.11. Just tried it on Fedora Core 6 w/ path of /home/stack/hadoop-trunk and didn't have the prob. there either.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545098 ]
Adrian Woodhead commented on HADOOP-2271:
-----------------------------------------
/home/stack/hadoop-trunk is too short to cause the problem (works here too), if u can, try with a path of at least 35 chars (not sure what the exact cut-off is). Machines we tested on were Ubuntu...
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546356 ]
Doug Cutting commented on HADOOP-2271:
--------------------------------------
Assigning it to you just gives you credit for providing the fix. It doesn't mean you're expected to do anything more right now.
> 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.
[jira] Updated: (HADOOP-2271) chmod in ant package target fails
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-2271:
----------------------------------
Resolution: Fixed
Fix Version/s: 0.16.0
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Adrian!
> 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
> Assignee: Adrian Woodhead
> Fix For: 0.16.0
>
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545089 ]
stack commented on HADOOP-2271:
-------------------------------
Path to my hadoop: /Users/stack/Documents/checkouts/hadoop-trunk.
> 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.
[jira] Updated: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Woodhead updated HADOOP-2271:
------------------------------------
Attachment: HADOOP-2271-1.patch
Code review please - simple one line fix to add parallel="false" to chmod call.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "stack (JIRA)" <ji...@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.
[jira] Assigned: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Woodhead reassigned HADOOP-2271:
---------------------------------------
Assignee: Adrian Woodhead
> 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
> Assignee: 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.
[jira] Updated: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Woodhead updated HADOOP-2271:
------------------------------------
Status: Patch Available (was: Open)
See if patch passes hudson now that findbugs appears to be working again
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549706 ]
Hudson commented on HADOOP-2271:
--------------------------------
Integrated in Hadoop-Nightly #326 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/326/])
> 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
> Assignee: Adrian Woodhead
> Fix For: 0.16.0
>
> 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.
[jira] Assigned: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Woodhead reassigned HADOOP-2271:
---------------------------------------
Assignee: (was: Adrian Woodhead)
(see my previous comment)
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546038 ]
Hadoop QA commented on HADOOP-2271:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12370130/HADOOP-2271-1.patch
against trunk revision r598699.
@author +1. The patch does not contain any @author tags.
javadoc +1. The javadoc tool did not generate any warning messages.
javac +1. The applied patch does not generate any new compiler warnings.
findbugs +1. The patch does not introduce any new Findbugs warnings.
core tests +1. The patch passed core unit tests.
contrib tests +1. The patch passed contrib unit tests.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1178/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1178/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1178/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1178/console
This message is automatically generated.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545102 ]
Hadoop QA commented on HADOOP-2271:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12370130/HADOOP-2271-1.patch
against trunk revision r597663.
@author +1. The patch does not contain any @author tags.
javadoc +1. The javadoc tool did not generate any warning messages.
javac +1. The applied patch does not generate any new compiler warnings.
findbugs -1. The patch appears to introduce new Findbugs warnings.
core tests +1. The patch passed core unit tests.
contrib tests +1. The patch passed contrib unit tests.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1148/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1148/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1148/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1148/console
This message is automatically generated.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545091 ]
Adrian Woodhead commented on HADOOP-2271:
-----------------------------------------
Interesting that you don't have the issue while having a longer path. Maybe it has something to do with version of chmod or shell? We experienced the error on both machines we tried it on here with similar length paths.
> 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.
[jira] Commented: (HADOOP-2271) chmod in ant package target fails
Posted by "Adrian Woodhead (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546349 ]
Adrian Woodhead commented on HADOOP-2271:
-----------------------------------------
Not sure why this has been re-assigned back to me.
Hudson seems happy with it so surely someone with commit rights should do a review and decide whether my patch should be committed or not?
> 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
> Assignee: 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.