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

Don't register HUP unix signal handler on Windows

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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: Runtime / Task
    • 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

          Activity

            People

            • Assignee:
              chesnay Chesnay Schepler
              Reporter:
              chesnay Chesnay Schepler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment