其他分享
首页 > 其他分享> > Hadoop

Hadoop

作者:互联网

[atguigu@hadoop101 hadoop-2.7.2]$ ll
总用量 52
drwxr-xr-x. 2 atguigu atguigu  4096 5月  22 2017 bin
drwxr-xr-x. 3 atguigu atguigu  4096 5月  22 2017 etc
drwxr-xr-x. 2 atguigu atguigu  4096 5月  22 2017 include
drwxr-xr-x. 3 atguigu atguigu  4096 5月  22 2017 lib
drwxr-xr-x. 2 atguigu atguigu  4096 5月  22 2017 libexec
-rw-r--r--. 1 atguigu atguigu 15429 5月  22 2017 LICENSE.txt
-rw-r--r--. 1 atguigu atguigu   101 5月  22 2017 NOTICE.txt
-rw-r--r--. 1 atguigu atguigu  1366 5月  22 2017 README.txt
drwxr-xr-x. 2 atguigu atguigu  4096 5月  22 2017 sbin
drwxr-xr-x. 4 atguigu atguigu  4096 5月  22 2017 share

bin 存放Hadoop相关服务(HDFS,YARN)操作的脚本文件
etc 存放Hadoop配置文件相关目录
lib 存放Hadoop的本地库
sbin 存放启动或停止Hadoop相关服务的脚本
share 存放Hadoop依赖的jar,文档和官方案例

(1)核心配置文件
配置core-site.xml

[atguigu@hadoop102 hadoop]$ vi core-site.xml
在该文件中编写如下配置

<property>
		<name>fs.defaultFS</name>
      <value>hdfs://hadoop102:9000</value>
</property>

<!-- 指定Hadoop运行时产生文件的存储目录 -->
<property>
		<name>hadoop.tmp.dir</name>
		<value>/opt/module/hadoop-2.7.2/data/tmp</value>
</property>

标签:4096,22,drwxr,Hadoop,atguigu,xr,2017
来源: https://www.cnblogs.com/cfb513142804/p/13950298.html