Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2350

Storm-HDFS's listFilesByModificationTime is broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 2.0.0
    • Fix Version/s: 2.0.0, 1.1.0, 1.0.4
    • Component/s: storm-hdfs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibor.kiss@gmail.com Tibor Kiss
                Reporter:
                tibor.kiss@gmail.com Tibor Kiss
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m