分布式文件系统HDFS操作指南
大数据技术原理与应用 第三章 分布式文件系统HDFS 学习指南_厦大数据库实验室博客 (xmu.edu.cn)
HDFS shell 基本操作
(10条消息) hdfs shell操作_气质&末雨的博客-CSDN博客
修改core-site.xml
<configuration>
<!--- global properties -->
<property>
<name>hadoop.tmp.dir</name>
<value>/opt/hadoop</value>
<description>A base for other temporary directories.</description>
</property>
<!-- file system properties -->
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
<description>The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
the FileSystem implementation class. The uri's authority is used to
determine the host, port, etc. for a filesystem.</description>
</property>
</configuration>
分布式数据库HBase 学习指南
大数据原理与应用 第四章 分布式数据库HBase 学习指南_厦大数据库实验室博客 (xmu.edu.cn)
HBase Shell命令大全
(10条消息) HBase Shell命令大全_风流 少年的博客-CSDN博客
启动顺序
修改配置文件
hbase-site.xml
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
1.先关闭hdfs
stop-all.sh
2.启动hdfs
start-dfs.sh
3.启动hbase
start-hbase.sh
关闭HRegionServer:
./hbase-daemon.sh stop regionserver
Hbase UI
http://localhost:16010