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

Erik Krogen updated HDFS-13400:
-------------------------------
    Description: If you call {{getPos()}} on an {{FSDataOutputStream}} returned 
by {{WebHdfsFileSystem#append}}, it will initially return 0, even if the file 
already had content. This method should return the initial length of the file 
before appending.

> WebHDFS append returned stream has incorrectly set position
> -----------------------------------------------------------
>
>                 Key: HDFS-13400
>                 URL: https://issues.apache.org/jira/browse/HDFS-13400
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.9.0, 2.8.3, 2.7.5, 3.0.1
>            Reporter: Erik Krogen
>            Priority: Minor
>
> If you call {{getPos()}} on an {{FSDataOutputStream}} returned by 
> {{WebHdfsFileSystem#append}}, it will initially return 0, even if the file 
> already had content. This method should return the initial length of the file 
> before appending.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to