[ https://issues.apache.org/jira/browse/HADOOP-17613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312030#comment-17312030 ]
Xiaoqiao He commented on HADOOP-17613: -------------------------------------- Thanks [~prasad-acit] for your works. I just wonder if other shutdown hooks have the same issue? And `LogManager.shutdown();` is only acted on log4j2, or same as log4j. Thanks. > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org