大数据应用

本文提供了HDFS的shell操作指南,包括对core-site.xml的修改,如设置hadoop.tmp.dir和fs.defaultFS。同时介绍了HBase的学习路径,详细列出HBase的shell命令,并给出了启动和关闭HBase的步骤,包括HRegionServer的管理以及如何访问HBaseUI。
摘要由CSDN通过智能技术生成

分布式文件系统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
 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值