提交 4e592324 编写于 作者: M Maximilian Michels

[FLINK-3100] signal handler prints error on normal shutdown of cluster

上级 0ccab95e
......@@ -45,8 +45,9 @@ public class SignalHandler {
*/
@Override
public void handle(Signal signal) {
LOG.error("RECEIVED SIGNAL " + signal.getNumber() + ": SIG" + signal.getName());
LOG.error("This JVM will shut down because it was killed from the outside.");
LOG.info("RECEIVED SIGNAL {}: SIG{}. Shutting down as requested.",
signal.getNumber(),
signal.getName());
prevHandler.handle(signal);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册