You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2013/11/11 08:02:20 UTC

[jira] [Created] (FALCON-185) Timestamp handled as int

Shwetha G S created FALCON-185:
----------------------------------

             Summary: Timestamp handled as int
                 Key: FALCON-185
                 URL: https://issues.apache.org/jira/browse/FALCON-185
             Project: Falcon
          Issue Type: Bug
            Reporter: Shwetha G S


In LateDataHandler,
    public static Date addTime(Date date, int milliSecondsToAdd) {
        return new Date(date.getTime() + milliSecondsToAdd);
    }
            endTime = addTime(endTime, (int) feedCutOffPeriod);

Changing msecs as int makes the timestamp -ve if the value is big. Thanks [~samarthg] for pointing this issue



--
This message was sent by Atlassian JIRA
(v6.1#6144)