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

Hudson commented on FLUME-2889:
-------------------------------

FAILURE: Integrated in Flume-trunk-hbase-1 #151 (See 
[https://builds.apache.org/job/Flume-trunk-hbase-1/151/])
FLUME-2889. Fixes to DateTime computations (roshan: 
[http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=ffb52b9e656df51e5e6881cfc8ed851a89cdc2f1])
* 
flume-ng-core/src/test/java/org/apache/flume/serialization/SyslogAvroEventSerializer.java
* flume-ng-core/src/main/java/org/apache/flume/source/SyslogParser.java


> Fixes to  DateTime computations
> -------------------------------
>
>                 Key: FLUME-2889
>                 URL: https://issues.apache.org/jira/browse/FLUME-2889
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.6.0
>            Reporter: Roshan Naik
>            Assignee: Roshan Naik
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2889.patch
>
>
> date.withYear(year+1)  can lead to incorrect date calculations .. for example 
> if  the date is Feb 29th.   need to use date.plusYears(1) instead.



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

Reply via email to