Author: virag
Date: Tue Dec  4 03:40:26 2012
New Revision: 1416762

URL: http://svn.apache.org/viewvc?rev=1416762&view=rev
Log:
OOZIE-1093 recursive fs chmod does not change the leaf directory (virag)

Modified:
    
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/FsActionExecutor.java
    oozie/trunk/release-log.txt

Modified: 
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/FsActionExecutor.java
URL: 
http://svn.apache.org/viewvc/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/FsActionExecutor.java?rev=1416762&r1=1416761&r2=1416762&view=diff
==============================================================================
--- 
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/FsActionExecutor.java
 (original)
+++ 
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/FsActionExecutor.java
 Tue Dec  4 03:40:26 2012
@@ -168,7 +168,7 @@ public class FsActionExecutor extends Ac
                         else {
                             if (command.equals("chmod")) {
                                 Path path = getPath(commandElement, "path");
-                                boolean recursive = 
commandElement.getChild("recursive") != null;
+                                boolean recursive = 
commandElement.getChild("recursive", commandElement.getNamespace()) != null;
                                 String str = 
commandElement.getAttributeValue("dir-files");
                                 boolean dirFiles = (str == null) || 
Boolean.parseBoolean(str);
                                 String permissionsMask = 
commandElement.getAttributeValue("permissions").trim();

Modified: oozie/trunk/release-log.txt
URL: 
http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1416762&r1=1416761&r2=1416762&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Tue Dec  4 03:40:26 2012
@@ -53,6 +53,7 @@ OOZIE-944 Implement Workflow Generator U
 
 -- Oozie 3.3.1 (unreleased)
 
+OOZIE-1093 recursive fs chmod does not change the leaf directory (virag)
 OOZIE-1094 credential cannot resolve variable (virag)
 OOZIE-1099 Pig launcher log does not show the pig job url for H23 (rohini via 
mona)
 OOZIE-1100 HFTP coordinator input check fails due to missing 
commons-httpclient.jar (ryota via virag)


Reply via email to