You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "P. Taylor Goetz (JIRA)" <ji...@apache.org> on 2017/02/08 21:33:42 UTC
[jira] [Resolved] (STORM-2350) Storm-HDFS's
listFilesByModificationTime is broken
[ https://issues.apache.org/jira/browse/STORM-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
P. Taylor Goetz resolved STORM-2350.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
2.0.0
1.0.4
Thanks [~tibor.kiss@gmail.com], merged to master, 1.x-branch and 1.0.x-branch.
> Storm-HDFS's listFilesByModificationTime is broken
> --------------------------------------------------
>
> Key: STORM-2350
> URL: https://issues.apache.org/jira/browse/STORM-2350
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-hdfs
> Affects Versions: 1.0.0, 2.0.0
> Reporter: Tibor Kiss
> Assignee: Tibor Kiss
> Fix For: 1.0.4, 2.0.0, 1.1.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Storm-HDFS module tries to locate the oldest locks. To sort based on the modification time the {{ModifTimeComparator}} is used which is broken:
> The comparator currently compares the first object ({{o1}}) to itself.
> Fix is trivial: compare {{o1}} to {{o2}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)