hbase 运维
来源:互联网 发布:免费注册淘宝会员 编辑:程序博客网 时间:2024/04/24 11:14
1. 启动问题 (IBM_JAVA):
Caused by: java.lang.NoSuchFieldError: IBM_JAVA
可以 env 命令查看 JAVA_HOME 和 HADOOP_HOME 是否配置,配置了基本没事。这个也会在hbase shell里出现,如果不配置HADOOP_HOME
2.操作系统用户打开文件数量的限制
用户可以打开的最大文件数
Cat /etc/securtiy/limits.conf
* soft nproc 65536
* hard nproc 65536
* soft nofile 65536
* hard nofile 65536
3.hbase 启动
for i in baby{1..3}; do echo $i; ssh $i /home/hadoop/hadoop-2.2.0/sbin/hadoop-daemon.sh start journalnode; done
4.hbase 加regionserver
sudo -u hbaseuser bin/hbase-daemon.sh start regionserver
5. hbase 减 regionserver
sudo -u hbaseuser bin/graceful_stop.sh fullhostname
上名的命令可以将该regionserver的region移到别的regionserver上,然后执行
sudo -u hbaseuser bin/hbase-daemon.sh stop regionserver
关闭regionserver
6. 换磁盘
需要重新创建磁盘上的相关hadoop目录,然后重启hadoop的datanode nodemanager等,然后重启hbase 进程。
7. reformat
修改cluster id, cx id 一致。
0 0
- hbase运维
- hbase运维
- hbase 运维
- hbase 运维
- HBase运维
- 毕玄 - HBase 运维
- Hbase
- HBase
- hbase
- HBase
- HBASE
- Hbase
- Hbase
- HBase
- hbase
- HBase
- HBase
- hbase
- gson解析json(总结)
- 初识ZigBee Update
- 一步步学习微软InfoPath2010和SP2010--第一章节--介绍InfoPath2010
- jsp上传图片
- js中数组的排序
- hbase 运维
- Java Thread Primitive Deprecation
- ubuntu 安装 java7
- Burrows–Wheeler transform
- FFmepg 多线程解码历程 - 2 :avcodec_decode_video2
- Eclipse Tomcat 内存不足:Caused by: java.lang.OutOfMemoryError: Java heap space
- 华为等手机无法打印调试LOG的解决方法
- IE6不支持position:fixed问题
- android:maxLines="2" android:ellipsize="end"