Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3790

Wrong error code when command executor is interrupted

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.5.2
    • Fix Version/s: v2.6.1
    • Component/s: Job Engine
    • Labels:
      None

      Description

      in  CliCommandExecutor.java if command cli is interrupted, in  runNativeCommand() it return  

      Pair.newPair(0, "Killed").

      However, the error code 0 is mean not throw RuntimeException.And it will execute next step.

        

        Attachments

          Activity

            People

            • Assignee:
              Zhixiong Chen Zhixiong Chen
              Reporter:
              Zhixiong Chen Zhixiong Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: