Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-653

Script exit codes aren't being checked

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: core
    • Labels:
      None
    • Environment:

      local: OSX, remote RHEL6.3

      Description

      My installer script bails out with an exit 1 on many operations, such as
      chown -R hadoop:hadoop $HADOOP_PID_DIR || exit 1;
      This is to find problems early and so aid debugging of the installation.

      Even when a script fails this way, Whirr declares that the installation was successful.

      It must check the return codes to be confident that the operation succeeded.

        Attachments

        1. whirr-653.patch
          1 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: