[ 
https://issues.apache.org/jira/browse/HADOOP-11721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365379#comment-14365379
 ] 

Kihwal Lee commented on HADOOP-11721:
-------------------------------------

The problem with removing git clean is that some of test cases will fail with 
the directory permission problem.

This may not be pretty, but does remove the problem before anything is 
attempted.
{code}
     echo
   else   
     cd $BASEDIR
+    if [ -d hadoop-hdfs-project/hadoop-hdfs/target/test/data ]; then
+      chmod -R u+x hadoop-hdfs-project/hadoop-hdfs/target/test/data
+    fi
     $GIT reset --hard
     $GIT clean -xdf
     $GIT checkout trunk
{code}

> switch jenkins patch tester to use git clean instead of mvn clean
> -----------------------------------------------------------------
>
>                 Key: HADOOP-11721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11721
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>              Labels: jenkins
>         Attachments: HADOOP-11721.1.patch.txt, HADOOP-11721.2.patch.txt
>
>
> mvn clean is failing on jenkins due to permission errors set in some of our 
> test cases. rely on git clean instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to