hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-691) Limitation on java.io.InputStream.available()
Date Wed, 28 Oct 2009 23:36:59 GMT

     [ https://issues.apache.org/jira/browse/HDFS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HDFS-691:
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
                   0.21.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I have committed this to 0.21 and above .

> Limitation on java.io.InputStream.available()
> ---------------------------------------------
>
>                 Key: HDFS-691
>                 URL: https://issues.apache.org/jira/browse/HDFS-691
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: h691_20091028.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message