Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-691

Limitation on java.io.InputStream.available()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. h691_20091028.patch
        0.8 kB
        Tsz Wo Nicholas Sze

        Issue Links

          Activity

          Gavin made changes -
          Link This issue is depended upon by HADOOP-6307 [ HADOOP-6307 ]
          Gavin made changes -
          Link This issue blocks HADOOP-6307 [ HADOOP-6307 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Tom White made changes -
          Fix Version/s 0.22.0 [ 12314241 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HDFS-246 [ HDFS-246 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue relates to HDFS-814 [ HDFS-814 ]
          Tsz Wo Nicholas Sze made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.0 [ 12314046 ]
          Fix Version/s 0.22.0 [ 12314241 ]
          Resolution Fixed [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tsz Wo Nicholas Sze made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Attachment h691_20091028.patch [ 12423492 ]
          Tsz Wo Nicholas Sze made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tsz Wo Nicholas Sze made changes -
          Assignee Tsz Wo (Nicholas), SZE [ szetszwo ]
          Tsz Wo Nicholas Sze made changes -
          Field Original Value New Value
          Link This issue blocks HADOOP-6307 [ HADOOP-6307 ]
          Tsz Wo Nicholas Sze created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development