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

ClientSupervisorUtils.processLauncherAndWait ignores InterruptedException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      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

            People

            • Assignee:
              agresch Aaron Gresch
              Reporter:
              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