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

Storm-HDFS's listFilesByModificationTime is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 2.0.0
    • 2.0.0, 1.1.0, 1.0.4
    • storm-hdfs
    • 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

              tibor.kiss@gmail.com Tibor Kiss
              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