hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1358) seek call ignores result of skipBytes(int)
Date Tue, 15 May 2007 20:11:16 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496110
] 

Raghu Angadi commented on HADOOP-1358:
--------------------------------------


The patch is fine but does not exactly do what original intent of the code was. I suggest
adding skipFully( InputStream ) and readFully( InputStream ) to our utils.

I added readFully() in FileUtil.java in the code I am working on.. It should probably go into
io-utils.


> seek call ignores result of skipBytes(int)
> ------------------------------------------
>
>                 Key: HADOOP-1358
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1358
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.13.0
>
>         Attachments: skip.patch
>
>
> DFSClient.java line 929
> This method call ignores the return value of java.io.InputStream.skip() which may skip
fewer bytes than requested.

-- 
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