Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-532

hbase-regionserver init script on RHEL always exits with return code 0 when checking process status

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH4.4.0
    • Fix Version/s: CDH5.0.0
    • Component/s: HBase
    • Labels:
    • Environment:
      Any RHEL
      hbase-regionserver-0.94.6+132-1.cdh4.4.0.p0.17.el6.x86_64.rpm

      Description

      The hbase-regionserver init script included in the distribution will always exit 0 when checking the status of the process, whether it's running or not. The script has an explicit 'exit 0' as its last line, this should be changed to 'exit $?' to exit with the correct result code.

        Attachments

          Activity

            People

            • Assignee:
              sean Sean Mackrory
              Reporter:
              disco Mark Troyer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: