[
https://issues.apache.org/jira/browse/HADOOP-13181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bogdan Raducanu updated HADOOP-13181:
-------------------------------------
Description:
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}
was:
See attached code.
Cause:
In NativeAzureFileSystem.java: the append method returns
{code}
new FSDataOutputStream(appendStream, statistics)
{code}
instead of something like
{code}
new FSDataOutputStream(appendStream, statistics, appendStream.getInitialLen())
{code}
as in DFSClient.java
> 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]