Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1890

A few improvements on the LeaseRenewer.pendingCreates map

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

        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:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: