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

Make DFSOutputStream.MAX_PACKETS configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • hdfs-client
    • None
    • Reviewed

    Description

      DFSOutputStream.MAX_PACKETS is hard coded to 80. In some case, a smaller value is preferred for reducing memory usage. Let's make it configurable.

      Attachments

        1. h7260_20141017.patch
          7 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: