You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Tibor Kiss (JIRA)" <ji...@apache.org> on 2017/02/07 05:09:41 UTC
[jira] [Created] (STORM-2350) Storm-HDFS's
listFilesByModificationTime is broken
Tibor Kiss created STORM-2350:
---------------------------------
Summary: 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
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)