Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6644

Don't register HUP unix signal handler on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.3.0, 1.4.0
    • Component/s: Local Runtime
    • Labels:
      None

      Description

      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:

      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]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Zentol Chesnay Schepler
                Reporter:
                Zentol Chesnay Schepler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: