ubuntu14.04安装好Hadoo之后接着安装hbase和介绍常用命令
2024-10-08 12:11:36
1.解压
tar -zxvf hbase-1.0.0-bin.tar.gz
sudo mv hbase-1.0.0 /opt/hbase
cd /opt
sudo chmod -R 775 hbase
2.修改环境变量
sudo vim /opt/hbase/conf/hbase-env.sh
修改$JAVA_HOME为jdk安装目录
3.修改hbase-site.xml
添加:
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>
4.启动hbase
start-hbase.sh
5.进入hbase shell
hbase shell
6.查看进程
通过jps,应该会看到一共有9个进程,分别如下:
3616 NodeManager
3008 NameNode
6945 HQuorumPeer
7010 HMaster
3302 SecondaryNameNode
3128 DataNode
7128 HRegionServer
3496 ResourceManager
7209 Jps
最新文章
- Consul 服务注册与服务发现
- TFS Express backup and restore
- GitLab版本管理
- iOS HTML 字符串中的图片 自适应大小
- InputStream复用,mark和reset
- 20150604_Andriod 窗体PopupWindow
- python 加密解密
- Version of SQLite used in Android?
- c++STL之sort排序
- 基础总结篇之五:BroadcastReceiver应用具体解释
- Animate.css让添加CSS动画像喝水一样容易
- ASP.NET Core 源码学习之 Logging[4]:FileProvider
- django模版中配置和使用静态文件方法
- SpringBoot(三):springboot启动参数
- SQL Server AlwaysON从入门到进阶(2)——存储
- ionic3 导航的应用(页面跳转与参数传递)
- day14,函数的使用方法:生成器表达式,生成器函数
- jQuery抽奖插件 jQueryRotate
- VC++中如何将字符串转换成整型数字
- iOS字符串处理