[HBase] An error is reported when the cluster is stopped. The pid does not exist.

Source: Internet
Author: User
[HBase] Stop cluster error, pid does not exist problem stop HBase cluster error: [plain] stoppinghbasecat: tmphbase-mango-master.pid: Nosuchfileordirectory cause is, by default pid file is saved under tmp directory, files under the tmp directory are easy to lose, solution: In hbase-env.s

[HBase] Stop cluster error, pid does not exist problem stop HBase cluster error: [plain] stopping hbasecat:/tmp/hbase-mango-master.pid: No such file or directory cause is, by default, pid files are stored in the/tmp directory, and files in the/tmp directory are easily lost. Solution: In the hbase-env.s

[HBase] An error is reported when the cluster is stopped. The pid does not exist.

When you stop an HBase cluster, the following error is returned:

[Plain]

Stopping hbasecat:/tmp/hbase-mango-master.pid: No such file or directory

The cause is that by default, the pid file is stored in the/tmp directory, the files under the/tmp directory are easy to lose, solution: Modify the path of the pid file in the hbase-env.sh

[Java]

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

Export HBASE_PID_DIR =/var/hadoop/pids

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.