hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1028) Servers should log startup and shutdown messages
Date Sat, 23 Jun 2007 09:43:26 GMT

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

Tom White commented on HADOOP-1028:
-----------------------------------

We can have shutdown messages for clean shutdowns by adding a shutdown hook: [http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)].
The stop scripts use the kill command, but that should still cause any shutdown hooks to run.
There are cases when shutdown hooks are not run, but since this change is informational only,
that should be OK. There's a useful table of kill signals and whether they cause any shutdown
hooks to run here: http://weblogs.java.net/blog/km/archive/2007/02/kill_and_kill_9_1.html.

> Servers should log startup and shutdown messages
> ------------------------------------------------
>
>                 Key: HADOOP-1028
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1028
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.11.2
>            Reporter: Nigel Daley
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1028_20070622b.patch
>
>
> JobTracker, TaskTracker, NameNode, and DataNode should log when they startup and when
they shutdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message