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

Hadoop QA commented on OOZIE-2130:
----------------------------------

Testing JIRA OOZIE-2130

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+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:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{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: 1575
.    Tests failed: 2
.    Tests errors: 2

.    The patch failed the following testcases:

.      
testCoordStatus_Failed(org.apache.oozie.command.coord.TestCoordChangeXCommand)
.      testSparkAction(org.apache.oozie.action.hadoop.TestSparkActionExecutor)

{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/2210/

> Add EL Function for offsetting a date by a timezone amount including DST
> ------------------------------------------------------------------------
>
>                 Key: OOZIE-2130
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2130
>             Project: Oozie
>          Issue Type: New Feature
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: OOZIE-2130.patch
>
>
> If a Coordinator has a data dependency, you can use the {{tzOffset}} EL 
> Function to get the offset from the dataset timezone to the coordinator 
> timezone (including DST), so that you can pass to your workflow a time in 
> your timezone.  We also have a generic {{dateOffset}} EL Function that lets 
> you offset a date by a specific amount.  For users not using a data 
> dependency who want to take into account a timezone offset (including DST), 
> they cannot use the {{tzOffset}} function, and the {{dateOffset}} function is 
> not enough.
> We should add a {{dateTzOffset}} function that takes an arbitrary date and a 
> timezone that will offset the given date by the given timezone relative to 
> the Oozie processing timezone, including DST.
> In other words, it's like the {{dateOffset}} function, but instead of giving 
> it a fixed offset, you gave it the difference between the Oozie processing 
> timezone and the given timezone, at the time of the given date.
> For example:
> {noformat}
> ${coord:dateTzOffset("2012-06-13T00:00Z", "America/Los_Angeles")}
> {noformat}
> would evaluate to "2012-06-12T17:00Z" (-0700 in Summer)
> and
> {noformat}
> ${coord:dateTzOffset("2012-12-13T00:00Z", "America/Los_Angeles")}
> {noformat}
> would evaluate to "2012-12-12T16:00Z" (-0800 in Winter)



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

Reply via email to