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

Limitation on java.io.InputStream.available()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      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 Nicholas Sze

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz Wo Nicholas Sze
                Reporter:
                szetszwo Tsz Wo Nicholas Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: