You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by vi...@apache.org on 2012/12/11 05:19:12 UTC
svn commit: r1419988 - in /oozie/trunk:
docs/src/site/twiki/WorkflowFunctionalSpec.twiki release-log.txt
Author: virag
Date: Tue Dec 11 04:19:11 2012
New Revision: 1419988
URL: http://svn.apache.org/viewvc?rev=1419988&view=rev
Log:
OOZIE-1091 workflow functional spec, fs action related issues (virag)
Modified:
oozie/trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki
oozie/trunk/release-log.txt
Modified: oozie/trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki
URL: http://svn.apache.org/viewvc/oozie/trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki?rev=1419988&r1=1419987&r2=1419988&view=diff
==============================================================================
--- oozie/trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki (original)
+++ oozie/trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki Tue Dec 11 04:19:11 2012
@@ -1064,12 +1064,15 @@ In the =move= command the =source= path
* For the =target= path, if it is a file, then it must not already exist.
* However, if the =target= path is an already existing directory, the =move= action will place your =source= as a child of the =target= directory.
-The =chmod= command changes the permissions for the specified path. Permissions can be specified using the Unix Symbolic representation (e.g. -rwxrw-rw-) or an octal representation (755).
- When doing a =chmod= command on a directory, by default the command is applied to the directory and the files one level within the directory. To apply the =chmod= command to the directory, without affecting the files within it, the =dir-files= attribute must be set to =false=. To apply the =chmod= command recursively to all levels within a directory, put a <recursive/> element inside the <chmod> element.
+The =chmod= command changes the permissions for the specified path. Permissions can be specified using the Unix Symbolic
+representation (e.g. -rwxrw-rw-) or an octal representation (755).
+When doing a =chmod= command on a directory, by default the command is applied to the directory and the files one level
+within the directory. To apply the =chmod= command to the directory, without affecting the files within it,
+the =dir-files= attribute must be set to =false=. To apply the =chmod= command
+recursively to all levels within a directory, put a =recursive= element inside the <chmod> element.
The =touchz= command creates a zero length file in the specified path if none exists. If one already exists, then touchz will perform a touch operation.
-
-If relative paths are used it will be relative to the specified user home directory.
+Touchz works only for absolute paths.
*Example:*
@@ -1081,7 +1084,7 @@ If relative paths are used it will be re
<delete path='hdfs://foo:8020/usr/tucu/temp-data'/>
<mkdir path='archives/${wf:id()}'/>
<move source='${jobInput}' target='archives/${wf:id()}/processed-input'/>
- <chmod path='${jobOutput}' permissions='-rwxrw-rw-' dir-files='true'/>
+ <chmod path='${jobOutput}' permissions='-rwxrw-rw-' dir-files='true'><recursive/></chmod>
</fs>
<ok to="myotherjob"/>
<error to="errorcleanup"/>
@@ -2599,6 +2602,9 @@ Example of a global element:
</xs:complexType>
<xs:complexType name="CHMOD">
+ <xs:sequence>
+ <xs:element name="recursive" type="workflow:FLAG" minOccurs="0" maxOccurs="1"></xs:element>
+ </xs:sequence>
<xs:attribute name="path" type="xs:string" use="required"/>
<xs:attribute name="permissions" type="xs:string" use="required"/>
<xs:attribute name="dir-files" type="xs:string"/>
Modified: oozie/trunk/release-log.txt
URL: http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1419988&r1=1419987&r2=1419988&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Tue Dec 11 04:19:11 2012
@@ -60,6 +60,7 @@ OOZIE-944 Implement Workflow Generator U
-- Oozie 3.3.1 (unreleased)
+OOZIE-1091 workflow functional spec, fs action related issues (virag)
OOZIE-1116 Create hbaselibs module (virag)
OOZIE-1093 recursive fs chmod does not change the leaf directory (virag)
OOZIE-1094 credential cannot resolve variable (virag)