Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1890

A few improvements on the LeaseRenewer.pendingCreates map

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      • The class is better to be just a Map instead of a SortedMap.
      • The value type is better to be DFSOutputStream instead of OutputStream.
      • The variable name is better to be filesBeingWritten instead of pendingCreates since we have append.
      1. h1890_20110504c.patch
        6 kB
        Tsz Wo Nicholas Sze
      2. h1890_20110504b.patch
        7 kB
        Tsz Wo Nicholas Sze
      3. h1890_20110504.patch
        6 kB
        Tsz Wo Nicholas Sze

        Activity

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development