Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

HBase stop node error "pid does not exist"

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The problem that HBase stops node reporting errors and does not exist in pid

The error in stopping the HBase node is as follows:

[root@hregion92 bin] # / opt/hbase-0.98.7/bin/hbase-daemon.sh stop regionserver

No regionserver to stop because no pid file / opt/hbase-0.98.7/pids/hbase-root-regionserver.pid

The reason is that the pid file is saved in the / tmp directory by default, and the files in the / tmp directory are easy to lose

Solution: modify the storage path of the pid file in hbase-env.sh

The following text in hbase-env.sh is commented out by default, you can release it, or you can specify your own storage location:

# The directory where pid files are stored. / tmp by default.

Export HBASE_PID_DIR=/var/hadoop/pids

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report