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

Capture Output for SSH Action doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0.0
    • 4.1.0
    • action
    • CDH 5.0.2

    Description

      Running a simple workflow that have a shell action with capture-output enabled, the SShActionExecutor look at the wrong stdout file. This is the the command that I found in the log:

      ssh o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 workflow@redhat5 cat oozie-oozi/0000008-140708170302737-oozie-oozi-W/fileProcessing-ssh/22350.0000008-140708170302737-oozie-oozi-W@fileProcessing@1.stdout

      But the generated stdout file is `/home/instadoc/oozie-oozi/0000008-140708170302737-oozie-oozi-W/fileProcessing--ssh/22350.0000008-140708170302737-oozie-oozi-W@fileProcessing@0.stdout`

      If you relaunch the action the ID that prepend the .stdout extension could vary (ie: @9.stdout, @4.stdout) but the SShActionExecutor looks always at @0.stdout.

      Attachments

        1. OOZIE-1920.patch.2
          3 kB
          Richard Williams
        2. OOZIE-1920.patch
          3 kB
          Richard Williams

        Issue Links

          Activity

            People

              Richard Williams Richard Williams
              Pennywise83 Alessandro Costantino
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: