You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/02/01 10:12:34 UTC
[jira] [Commented] (OOZIE-1836) Documenation is wrong for the
timestamp() EL Function
[ https://issues.apache.org/jira/browse/OOZIE-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300121#comment-14300121 ]
Hadoop QA commented on OOZIE-1836:
----------------------------------
Testing JIRA OOZIE-1836
Cleaning local git workspace
----------------------------
{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-1 RAW_PATCH_ANALYSIS{color}
. {color:green}+1{color} the patch does not introduce any @author tags
. {color:green}+1{color} the patch does not introduce any tabs
. {color:green}+1{color} the patch does not introduce any trailing spaces
. {color:green}+1{color} the patch does not introduce any line longer than 132
. {color:red}-1{color} the patch does not add/modify any testcase
{color:red}-1 RAT{color}
. {color:red}-1{color} the patch seems to introduce 1 new RAT warning(s)
{color:green}+1 JAVADOC{color}
. {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
{color:green}+1 COMPILE{color}
. {color:green}+1{color} HEAD compiles
. {color:green}+1{color} patch compiles
. {color:green}+1{color} the patch does not seem to introduce new javac warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
. {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations
. {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
. Tests run: 1572
. Tests failed: 3
. Tests errors: 1
. The patch failed the following testcases:
. testSparkAction(org.apache.oozie.action.hadoop.TestSparkActionExecutor)
. testCoordActionInputCheckXCommandUniqueness(org.apache.oozie.command.coord.TestCoordActionInputCheckXCommandNonUTC)
. testMessage_withMixedStatus(org.apache.oozie.command.coord.TestAbandonedCoordChecker)
{color:green}+1 DISTRO{color}
. {color:green}+1{color} distro tarball builds with the patch
----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}
The full output of the test-patch run is available at
. https://builds.apache.org/job/oozie-trunk-precommit-build/2200/
> Documenation is wrong for the timestamp() EL Function
> -----------------------------------------------------
>
> Key: OOZIE-1836
> URL: https://issues.apache.org/jira/browse/OOZIE-1836
> Project: Oozie
> Issue Type: Sub-task
> Components: docs
> Affects Versions: 4.0.0
> Reporter: Robert Kanter
> Labels: newbie
> Attachments: OOZIE-1836.txt
>
>
> The documentation for the {{timestamp()}} EL Function says:
> {quote}
> It returns the UTC current date and time in W3C format down to the second (YYYY-MM-DDThh:mm:ss.sZ). I.e.: 1997-07-16T19:20:30.45Z
> {quote}
> https://oozie.apache.org/docs/4.0.1/WorkflowFunctionalSpec.html#a4.2_Expression_Language_Functions
> This is incorrect. It's ISO08601 format in Oozie processing timezone down to the minute (like other Oozie time formats). The Javadoc is even correct:
> {code:java}
> /**
> * Return the current datetime in ISO8601 using Oozie processing timezone, yyyy-MM-ddTHH:mmZ. i.e.:
> * 1997-07-16T19:20Z
> *
> * @return the formatted time string.
> */
> public static String timestamp() {
> return DateUtils.formatDateOozieTZ(new Date());
> }
> {code}
> We should update the documentation to match the javadoc
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)