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

[Shell action] STDERR contains a bogus error message

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: action
    • Labels:
      None

      Description

      Shell action's stderr contains an error message about path.
      I executed shell action example to test Oozie 5.1 rc1, the job finished with success, but stderr of the job contained "Path echo doesn't appear to exist".

      https://github.com/apache/oozie/blob/27e4bf1688a6a7750b9c8454de5021337696fd61/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/ShellContentWriter.java#L91

                      writeLine(errorStream, "Path " + filename + " doesn't appear to exist");
      

      The problem is that we ignore the PATH of the process.

        Attachments

        1. OOZIE-3390.004.patch
          6 kB
          Andras Piros
        2. OOZIE-3390.003.patch
          5 kB
          Andras Piros
        3. OOZIE-3390-002.patch
          3 kB
          Kinga Marton
        4. OOZIE-3390-001.patch
          3 kB
          Kinga Marton

          Activity

            People

            • Assignee:
              kmarton Kinga Marton
              Reporter:
              asasvari Attila Sasvári
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: