[
https://issues.apache.org/jira/browse/HADOOP-17613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312928#comment-17312928
]
Renukaprasad C commented on HADOOP-17613:
-----------------------------------------
[~hexiaoqiao] Thanks for the quick update.
We are scared to handle in other shutdown hooks as it close the appender and we
may miss the other log. We have just added here as we expected last log to be
pushed. Whatever the logs in the buffer so far will be flushed and SHUTDOWN
message gets logged.
LM#shutdown() acts on both the the versions.
> Log not flushed fully when NN shutdown
> --------------------------------------
>
> Key: HADOOP-17613
> URL: https://issues.apache.org/jira/browse/HADOOP-17613
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 2.7.2, 3.1.1
> Reporter: Renukaprasad C
> Assignee: Renukaprasad C
> Priority: Major
> Attachments: HADOOP-17613.001.patch
>
>
> When server generating large amount of logs and gets stopped, doesnt print
> all the logs. Need to call LogManager.shutdown(); to flush all the pending
> log to be written before shutdown.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]