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

Renukaprasad C commented on HADOOP-17613:
-----------------------------------------

[~hexiaoqiao]
java.lang.Runtime#addShutdownHook being called 
org.apache.hadoop.minikdc.MiniKdc#main
org.apache.hadoop.mapred.gridmix.Gridmix#start
These 2 has no impact on server side logging.

Rest of the VM Shutdown hooks are going through 
org.apache.hadoop.util.ShutdownHookManager only. Are you referring to this 
callers?  Do you have any proposal for this?




> 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]

Reply via email to