[
https://issues.apache.org/jira/browse/HADOOP-13181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15292708#comment-15292708
]
Chris Nauroth commented on HADOOP-13181:
----------------------------------------
This might warrant updating the contract tests in
{{AbstractContractAppendTest}} so that they make assertions about the return
value of {{getPos}} after an {{append}} call.
> WASB append support: getPos incorrect
> -------------------------------------
>
> Key: HADOOP-13181
> URL: https://issues.apache.org/jira/browse/HADOOP-13181
> Project: Hadoop Common
> Issue Type: Bug
> Components: azure
> Affects Versions: 2.8.0
> Reporter: Bogdan Raducanu
> Attachments: append.java
>
>
> See attached code.
> Cause:
> In NativeAzureFileSystem.java: the append method returns
> {code}
> new FSDataOutputStream(appendStream, statistics)
> {code}
> Instead, it should probably return
> {code}
> new FSDataOutputStream(appendStream, statistics, meta.getLength())
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]