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

Output of SSH action should be avaialbe in logs by default + allow capture it raw (no properties file)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2.0
    • None
    • scripts
    • None

    Description

      From, the docs, I understand that capturing output of a remote SSH script requires :

      • Explicit <capture-output/> tag
      • Ensuring the output to be a java properties file, even in case of error.

      I find this behavior quite limiting and counter intuitive.
      I would expect that, by default, the complete output of any script call would be available in some log file, for troubleshooting.

      Also, I would expect to have some <capture-raw-output/> tag, in order to forward the output of a failing script to an email for instance.

      Instead of that, we need to adapt existing scripts, in order to output meaningful error in the very restrictive format :
      '"error=Some short error"

      This is not always possible, as it is hard to control the output of the underlying commands called by a script (bash typically).

      Attachments

        Activity

          People

            Unassigned Unassigned
            rjolivet Raphael Jolivet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: