Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The Snapshot class currently has two compareTo methods. The one for comparing IDs is not implementing the Comparable interface since Java does not allow implementing the same interface twice with different generic types. It is better to remove one of the compareTo methods for avoiding confusion.

        Attachments

        1. h4188_20121113.patch
          5 kB
          Tsz-wo Sze
        2. h4188_20121114.patch
          8 kB
          Tsz-wo Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              szetszwo Tsz-wo Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: