[
https://issues.apache.org/jira/browse/HDFS-13656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870326#comment-16870326
]
Wei-Chiu Chuang commented on HDFS-13656:
----------------------------------------
i think adding more info into the log message is good.
However, I would prefer to log things that's recoverable at INFO level, so if
client fails for the first time and it still can retry a few times before
bailing out, it should log at INFO level.
> Logging more info when client completes file error
> --------------------------------------------------
>
> Key: HDFS-13656
> URL: https://issues.apache.org/jira/browse/HDFS-13656
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.0.2
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Minor
> Attachments: HDFS-13656.001.patch, error-hdfs.png
>
>
> We found the error when dfs client completes file.
> !error-hdfs.png!
> Now the error log is too simple and cannot provide enough info for debugging.
> And this error will failed the write operation and finally lead our critical
> tasks failed. It will be good to print retry time and file path info inĀ
> {{DFSOutputStream#completeFile}}. In addition, the log level can be updated
> from INFO to WARN, it won't be ignored easily by users.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]