自学了一段时间快忘记了

1.

C:\hadoop3集群测试\hadoop3102

C:\hadoop3集群测试\hadoop3103

C:\hadoop3集群测试\hadoop3104

2.

[atguigu@hadoop104 ~]$ pwd
/home/atguigu

[atguigu@hadoop102 bin]$ sh myhadoop.sh start
 =================== 启动 hadoop 集群 ===================
 --------------- 启动 hdfs ---------------
Starting namenodes on [hadoop102]
Starting datanodes
Starting secondary namenodes [hadoop104]
 --------------- 启动 yarn ---------------
Starting resourcemanager
Starting nodemanagers
 --------------- 启动 historyserver ---------------
[atguigu@hadoop102 bin]$
[atguigu@hadoop102 bin]$

3.

http://hadoop103:8088/cluster

4.

http://hadoop102:9870/dfshealth.html#tab-overview

5.

[atguigu@hadoop104 hadoop-3.1.3]$ pwd
/opt/module/hadoop-3.1.3
启动
sbin/start-dfs.sh

103上启动 yarn
[atguigu@hadoop102 hadoop-3.1.3]$ pwd
cd /opt/module/hadoop-3.1.3
启动
sbin/start-yarn.sh

6.

  1. [atguigu@hadoop102 hadoop-3.1.3]$ pwd

  2. /opt/module/hadoop-3.1.3

7.先删除

8.

[atguigu@hadoop102 hadoop-3.1.3]$ pwd
/opt/module/hadoop-3.1.3
[atguigu@hadoop102 hadoop-3.1.3]$
[atguigu@hadoop102 hadoop-3.1.3]$
[atguigu@hadoop102 hadoop-3.1.3]$ hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar wordcount  /input  /output

现象

睡觉了 88

猜你喜欢

转载自blog.csdn.net/hxsln11/article/details/141947710