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 "Doris Gu (Jira)" <ji...@apache.org> on 2023/01/12 09:21:00 UTC

[jira] [Commented] (HDFS-16569) Consider attaching block location info from client when closing a completed file

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

Doris Gu commented on HDFS-16569:
---------------------------------

> ` {{{}dfs.namenode.file.close.num-committed-allowed{}}}` is not helpful when most files' size is less than block size.

@[~yuanbo]  I think  ` {{{}dfs.namenode.file.close.num-committed-allowed{}}}` is more helpful when most files' size is less than block size. Can you explain  why?

> Consider attaching block location info from client when closing a completed file
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-16569
>                 URL: https://issues.apache.org/jira/browse/HDFS-16569
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Yuanbo Liu
>            Priority: Major
>
> when a file is finished, client will not close it until DNs send RECEIVED_BLOCK by ibr or client is timeout. we can always see such kind of log in namenode
> {code:java}
> is COMMITTED but not COMPLETE(numNodes= 0 <  minimum = 1) in file{code}
> Since client already has the last block locations, it's not necessary to rely on the ibr from DN when closing file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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