Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1125

Return value does not reflect status checks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      The init script for HBase RegionServers that supports multiple processes is always returning 0. It should return 0 on success of non-zero on failure. In the case of running multiple processes, failure is defined as a failure

      There are already different constants defined in the file (e.g. different values for failures in all process, failures in some processes, failures in no processes... etc.), we just need to return them properly.

      Although this affects the 0.7.0 RC, I don't consider it a big enough deal to warrant -1'ing the RC, which I'm still testing.

        Attachments

          Activity

            People

            • Assignee:
              mackrorysd Sean Mackrory
              Reporter:
              mackrorysd Sean Mackrory
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: