hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15042) Azure::PageBlobInputStream::skip can return -ve value when numberOfPagesRemaining is 0
Date Fri, 17 Nov 2017 17:22:00 GMT

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

Steve Loughran commented on HADOOP-15042:
-----------------------------------------

+[~tmarquardt]

Rajesh, is there an easy test for this? You know how much I like automated test coverage for
regression testing &c

> Azure::PageBlobInputStream::skip can return -ve value when numberOfPagesRemaining is
0
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15042
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15042
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>         Attachments: HADOOP-15042.001.patch
>
>
> {{PageBlobInputStream::skip-->skipImpl}} returns negative values when {{numberOfPagesRemaining=0}}.
This can cause wrong position to be set in NativeAzureFileSystem::seek() and can lead to errors.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message