[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977492#action_12977492
 ] 

Nigel Daley commented on MAPREDUCE-2238:
----------------------------------------

Hudson slave runs as the user 'hudson'.  Here is the directory listing that is 
failing.  Why would the permissions on the dir be changed to 311?

{code}
r...@h7:/grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk/trunk/build/test/logs/userlogs/job_20101230131139886_0001#
 ls -al
total 36
drwx------ 9 hudson hudson 4096 2010-12-30 13:14 .
drwxr-xr-x 3 hudson hudson 4096 2010-12-30 13:14 ..
d-wx--x--x 2 hudson hudson 4096 2010-12-30 13:11 
attempt_20101230131139886_0001_m_000000_0
drwx------ 2 hudson hudson 4096 2010-12-30 13:12 
attempt_20101230131139886_0001_m_000000_1
drwx------ 2 hudson hudson 4096 2010-12-30 13:11 
attempt_20101230131139886_0001_m_000001_0
drwx------ 2 hudson hudson 4096 2010-12-30 13:12 
attempt_20101230131139886_0001_m_000003_1
drwx------ 2 hudson hudson 4096 2010-12-30 13:11 
attempt_20101230131139886_0001_m_000005_0
drwx------ 2 hudson hudson 4096 2010-12-30 13:12 
attempt_20101230131139886_0001_m_000006_0
drwx------ 2 hudson hudson 4096 2010-12-30 13:11 
attempt_20101230131139886_0001_m_000007_0
r...@h7:/grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk/trunk/build/test/logs/userlogs/job_20101230131139886_0001#
 ls -al attempt_20101230131139886_0001_m_000000_0
total 16
d-wx--x--x 2 hudson hudson 4096 2010-12-30 13:11 .
drwx------ 9 hudson hudson 4096 2010-12-30 13:14 ..
-rw-r--r-- 1 hudson hudson  205 2010-12-30 13:11 log.index
-rw-r--r-- 1 hudson hudson    0 2010-12-30 13:11 stderr
-rw-r--r-- 1 hudson hudson 1687 2010-12-30 13:11 stdout
{code}

> Undeletable build directories 
> ------------------------------
>
>                 Key: MAPREDUCE-2238
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2238
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build, test
>    Affects Versions: 0.23.0
>            Reporter: Eli Collins
>
> The MR hudson job is failing, looks like it's due to a test chmod'ing a build 
> directory so the checkout can't clean the build dir.
> https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/549/console
> Building remotely on hadoop7
> hudson.util.IOException2: remote file operation failed: 
> /grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk at 
> hudson.remoting.chan...@2545938c:hadoop7
>       at hudson.FilePath.act(FilePath.java:749)
>       at hudson.FilePath.act(FilePath.java:735)
>       at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:589)
>       at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:537)
>       at hudson.model.AbstractProject.checkout(AbstractProject.java:1116)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
>       at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
>       at hudson.model.Run.run(Run.java:1324)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:139)
> Caused by: java.io.IOException: Unable to delete 
> /grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk/trunk/build/test/logs/userlogs/job_20101230131139886_0001/attempt_20101230131139886_0001_m_000000_0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to