Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3696

ClientSupervisorUtils.processLauncherAndWait ignores InterruptedException

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      This code ignores the interrupted exception, going on and causing IllegalThreadStateException.  We should not ignore the exception.

       

      2020-09-04 17:36:02.766 o.a.s.d.s.ClientSupervisorUtils SLOT_6700 [INFO] Worker Process 2e82e6e8-6a97-45eb-950f-2ca68ff793f4 interrupted.
      
      
      2020-09-04 17:36:02.767 o.a.s.d.s.Slot SLOT_6700 [ERROR] Failed launching container
      java.lang.IllegalThreadStateException: process hasn't exited
              at java.lang.UNIXProcess.exitValue(UNIXProcess.java:422) ~[?:1.8.0_242]
              at org.apache.storm.daemon.supervisor.ClientSupervisorUtils.processLauncherAndWait(ClientSupervisorUtils.java:82) ~[storm-client-2.3.0.y.jar:2.3.0.y]
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            agresch Aaron Gresch
            agresch Aaron Gresch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m

                Issue deployment