First of all, I examined that why you want to check the health of Hive Meta Store Process 먼저 왜 하이브 메타스토어 프로세스의 헬스체크를 하려고 하는지 생각해봤음
As far I know Hive Meta Store(HMS) is stateless architecture(it writes and reads meta information from database like mysql) 내가 알기론 하이브메타스토어는 Stateless 구조야 (HMS는 MySQL과 같은 DB에서 메타 정보를 읽고 쓰지) Almost guys will register HMS to the service scheduler like Linux Systemd. 대부분 사람들이 Linux SystemD와 같은 서비스 스케쥴러에 HMS를 등록하지 If HMS is killed by crash or exceptions, it will be restarted automatically by Systemd. HMS가 크래시나 Exception에 의해서 kill 당해도 Systemd에 의해서 자동으로 재시작 될거야 Rather we have to forcus on the healths of database, instance of HMS, and Network. 차라리 우리는 DB, HMS가 설치되어 있는 인스턴스, 그리고 네트워크 상태에 좀더 집중해야 한다고 생각해 Hive Metastore hang conditions are below - Hang the DB or DB connection pool will be exhausted since the query responses of DB are very slow. - HM Instance is resource race condition by another processes - Network unavailable Except these situations, w So I think we don't need to know HMS health status. so that you don't need to check you can make restart it automatically by operating system (e.g. linux systemd) If you consider HA of Hive metastore, use Hive 4.0.0 onwards. >From Hive 4.0, Hive metastore supports Dynamic service discovery with Zookeeper. On Wed, Jul 15, 2020 at 2:50 AM Sungwoo Park <glap...@gmail.com> wrote: > Hello, > > We use just TCP readiness/liveness probes checking the Metastore listener > port (specified by hive.metastore.port or metastore.thrift.port). I don't > know if an HTTP endpoint is available for Metastore. > > readinessProbe: > tcpSocket: > port: 9083 > initialDelaySeconds: 10 > periodSeconds: 20 > livenessProbe: > tcpSocket: > port: 9083 > initialDelaySeconds: 20 > periodSeconds: 20 > > Best, > > --- Sungwoo > > On Wed, Jul 15, 2020 at 2:23 AM Eric Pogash <epog...@salesforce.com> > wrote: > >> Ping on this, does anyone know of a health endpoint? >> >> Eric >> >> >> On Wed, Jul 8, 2020 at 3:04 PM Eric Pogash <epog...@salesforce.com> >> wrote: >> >>> Hello, >>> >>> I'm looking to establish a readiness and liveness probe in kubernetes >>> where we are hosting a hive standalone metastore. Is there an http health >>> endpoint available for the standalone hive metastore that I can use? If >>> not, what is the recommended approach here? >>> >>> Best, >>> Eric Pogash >>> >>