Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3569

SSH Action should add checking success file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.3.0
    • None
    • None

    Description

      Phenomenon 

      Currently, SSH Action checking operation are as following: 

      Firstly, check operation is to check Oozie ppid. When pgid does not exist, check whether there is an error file. If the error file does not exist, Oozie will set action status OK

      However, when Oozie pgid is killed externally, this action will be incorrectly determined to be successful.

      Solution

      In ssh-wrapper.sh, when command execution is OK, Oozie should touch a success empty file like touching error file.
      In SshActionExecutor check method, Oozie should add checking the success file existence.

      Attachments

        1. OOZIE-3569-v1.patch
          3 kB
          Junfan Zhang
        2. OOZIE-3569-v2.patch
          4 kB
          Junfan Zhang
        3. OOZIE-3569-v3.patch
          5 kB
          Junfan Zhang
        4. OOZIE-3569-v4.patch
          5 kB
          Junfan Zhang
        5. OOZIE-3569-v5.patch
          5 kB
          Junfan Zhang

        Activity

          People

            zuston Junfan Zhang
            zuston Junfan Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: