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)