You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/07/31 15:41:00 UTC

[jira] [Resolved] (HDFS-14690) java.io.IOException: Unable to close file because the last block does not have enough number of replicas.

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

Wei-Chiu Chuang resolved HDFS-14690.
------------------------------------
    Resolution: Not A Bug

> java.io.IOException: Unable to close file because the last block does not have enough number of replicas.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14690
>                 URL: https://issues.apache.org/jira/browse/HDFS-14690
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: huihui
>            Priority: Blocker
>
> java.io.IOException: Unable to close file because the last block does not have enough number of replicas.
>  at org.apache.hadoop.hdfs.DFSOutputStream.completeFile(DFSOutputStream.java:2298)
>  at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:2267)
>  at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:72)
>  at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:106)
>  at java.io.FilterOutputStream.close(FilterOutputStream.java:159)
>  at java.io.FilterOutputStream.close(FilterOutputStream.java:159)
>  at org.apache.avro.file.DataFileWriter.close(DataFileWriter.java:434)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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