You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Manoj Govindassamy (JIRA)" <ji...@apache.org> on 2017/04/29 00:20:04 UTC

[jira] [Comment Edited] (HDFS-11718) DFSStripedOutputStream hsync/hflush should not throw UnsupportedOperationException

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

Manoj Govindassamy edited comment on HDFS-11718 at 4/29/17 12:19 AM:
---------------------------------------------------------------------

Thanks for the review and commit help [~eddyxu].
[~andrew.wang], I believe this fix needs to be committed to trunk also. Please confirm. 


was (Author: manojg):
[~andrew.wang], I believe this fix needs to be committed to trunk also. Please confirm. 

> DFSStripedOutputStream hsync/hflush should not throw UnsupportedOperationException
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-11718
>                 URL: https://issues.apache.org/jira/browse/HDFS-11718
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>            Priority: Blocker
>              Labels: hdfs-ec-3.0-must-do
>             Fix For: 3.0.0-alpha3
>
>         Attachments: HDFS-11644.01.patch, HDFS-11718.01.patch
>
>
> This is a clone bug of HDFS-11644 to provide a quick fix while a proper fix is being discussed and developed. The quick fix here would be to just turn {{DFSStripedOutputStream#hsync()/hflush()}} as a no-op instead of throwing UnsupportedOperationException. 
> {code}
>   @Override
>   public void hflush() {
>     throw new UnsupportedOperationException();
>   }
>   @Override
>   public void hsync() {
>     throw new UnsupportedOperationException();
>   }
> {code}
> For more details please refer to the comments in HDFS-11644.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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