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

Add an api to get the visible length of a DFSDataInputStream.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • hdfs-client
    • None
    • Reviewed
    • Add an api to get the visible length of a DFSDataInputStream.

    Description

      Hflush guarantees that the bytes written before are visible to the new readers. However, there is no way to get the length of the visible bytes. The visible length is useful in some applications like SequenceFile.

      Attachments

        1. getLength-yahoo-0.20.patch
          3 kB
          Hairong Kuang
        2. h814_20091221_0.21.patch
          3 kB
          Tsz-wo Sze
        3. h814_20091221.patch
          3 kB
          Tsz-wo Sze
        4. privateInputStream.patch
          0.7 kB
          Hairong Kuang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: