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

Script exit codes aren't being checked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.9.0
    • 0.9.0
    • core
    • None
    • 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

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

            Dates

              Created:
              Updated: