[ https://issues.apache.org/jira/browse/HBASE-29307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HBASE-29307: ----------------------------------- Labels: pull-request-available (was: ) > Add status command to hbase-daemon.sh for process state checking > ---------------------------------------------------------------- > > Key: HBASE-29307 > URL: https://issues.apache.org/jira/browse/HBASE-29307 > Project: HBase > Issue Type: Improvement > Reporter: JinHyuk Kim > Assignee: JinHyuk Kim > Priority: Major > Labels: pull-request-available > > Currently, `hbase-daemon.sh` supports commands like `start`, `stop`, and > `restart`, but lacks a `status` command to check whether a given HBase > component (e.g., master or regionserver) is running. > As a result, operators and automation tools must rely on external utilities > such as `jps`, `ps`, or `lsof` to infer the process status — often parsing > command output manually, which can be error-prone or inconsistent across > environments. > This patch adds a `status` subcommand to `hbase-daemon.sh`. > > h1. Benefits > * Enables easy integration with tools like Ansible, systemd, Kubernetes > probes, and custom scripts > * Makes health checking and restart logic simpler and more consistent > * Removes the need for workaround scripts involving `jps` or `ps -ef | grep > hbase` > * Aligns with standard behavior of other Unix-style service scripts -- This message was sent by Atlassian Jira (v8.20.10#820010)