Home > Database > Mysql Tutorial > [HBase]停止集群报错,pid不存在的问题

[HBase]停止集群报错,pid不存在的问题

WBOY
Release: 2016-06-07 14:58:24
Original
2025 people have browsed it

[HBase]停止集群报错,pid不存在的问题 停止HBase集群时报错如下: [plain] stopping hbasecat: /tmp/hbase-mango-master.pid: No such file or directory 原因是,默认情况下pid文件保存在/tmp目录下,/tmp目录下的文件很容易丢失,解决办法:在hbase-env.s

[HBase]停止集群报错,pid不存在的问题

 

停止HBase集群时报错如下:

 

[plain] 

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

 

原因是,默认情况下pid文件保存在/tmp目录下,/tmp目录下的文件很容易丢失,解决办法:在hbase-env.sh中修改pid文件的存放路径

 

[java] 

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

 export HBASE_PID_DIR=/var/hadoop/pids  

 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template