flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6644) Don't register HUP unix signal handler on Windows
Date Fri, 19 May 2017 15:32:04 GMT
Chesnay Schepler created FLINK-6644:
---------------------------------------

             Summary: Don't register HUP unix signal handler on Windows
                 Key: FLINK-6644
                 URL: https://issues.apache.org/jira/browse/FLINK-6644
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime
    Affects Versions: 1.4.0
            Reporter: Chesnay Schepler


The JM/TM register UNIX signal handlers for INT, HUP and TERM on startup.

On Windows, HUP is not available, causing this exception to be logged everytime:

{code}
2017-05-19 16:49:58,777 INFO  org.apache.flink.runtime.taskmanager.TaskManager           
  - Error while registering signal handler
java.lang.IllegalArgumentException: Unknown signal: HUP
        at sun.misc.Signal.<init>(Unknown Source)
        at org.apache.flink.runtime.util.SignalHandler$Handler.<init>(SignalHandler.java:41)
        at org.apache.flink.runtime.util.SignalHandler.register(SignalHandler.java:78)
        at org.apache.flink.runtime.taskmanager.TaskManager$.main(TaskManager.scala:1525)
        at org.apache.flink.runtime.taskmanager.TaskManager.main(TaskManager.scala)
2017-05-19 16:49:58,778 INFO  org.apache.flink.runtime.taskmanager.TaskManager           
  - Registered UNIX signal handlers for [TERM, INT]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message