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

[Shell action] STDERR contains a bogus error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.1.0
    • 5.1.0
    • action
    • 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.003.patch
          5 kB
          Andras Piros
        2. OOZIE-3390.004.patch
          6 kB
          Andras Piros
        3. OOZIE-3390-001.patch
          3 kB
          Kinga Marton
        4. OOZIE-3390-002.patch
          3 kB
          Kinga Marton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: