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

A few improvements on the LeaseRenewer.pendingCreates map

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.23.0
    • hdfs-client
    • None
    • 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_20110504.patch
          6 kB
          Tsz-wo Sze
        2. h1890_20110504b.patch
          7 kB
          Tsz-wo Sze
        3. h1890_20110504c.patch
          6 kB
          Tsz-wo Sze

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment