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

Limitation on java.io.InputStream.available()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • hdfs-client
    • None
    • Reviewed

    Description

      java.io.InputStream.available() returns an int which has the max value 2^31-1 = 2GB - 1B. It won't work if the number of available bytes is >= 2GB.

      Attachments

        1. h691_20091028.patch
          0.8 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: