CSDN■不看就亏系列!这里有完整的 Hadoop 集群搭建教程,和最易懂的 Hadoop 概念!| 附代码( 七 )
<name>yarn.resourcemanager.resource-tracker.address</name> <value>chenc01:8031</value> </proetry> <proetry> <name>yarn.resourcemanager.admin.address</name> <value>chenc01:8033</value> </proetry> <proetry> <name>yarn.resourcemanager.webapp.address</name> <value>chenc01:8088</value> </proetry> </configuration>
- datanode配置文件生成
[hadoop@ chenc01 hadoop]$ scp -r /home/hadoop/hadoop-3.13 hadoop@chenc02:~/ The authenticity of host 'chenc02 (10.0.0.62)' can't be established. RSA key fingerprint is 9b:57:b9:86:84:90:a4:4b:44:3e:18:9f:8a:29:6f:e5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'chenc02,10.0.0.62' (RSA) to the list of known hosts. hadoop@chenc02's password: /home/hadoop/hadoop-3.13: No such file or directory [hadoop@ chenc01 hadoop]$ scp -r /home/hadoop/hadoop-3.13 hadoop@chenc03:~/ The authenticity of host 'chenc03 (10.0.0.63)' can't be established. Warning: Permanently added 'chenc03,10.0.0.63' (RSA) to the list of known hosts. hadoop@chenc03's password: /home/hadoop/hadoop-3.13: No such file or directory[hadoop@ chenc01 ~]$ cd /home/hadoop/hadoop-3.1.3/bin/ [hadoop@ chenc01 bin]$ ./hdfs namenode -format 2020-03-04 16:05:17,247 INFO namenode.FSImageFormatProtobuf: Image file /home/hadoop/dfs/name/current/fsimage.ckpt_0000000000000000000 of size 393 bytes saved in 0 seconds . 2020-03-04 16:05:17,268 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2020-03-04 16:05:17,277 INFO namenode.FSImage: FSImageSaver clean checkpoint: txid = 0 when meet shutdown. 2020-03-04 16:05:17,278 INFO namenode.NameNode: SHUTDOWN_MSG: / SHUTDOWN_MSG: Shutting down NameNode at xinsz08-1/192.168.1.18 - 查看是否生成相应的内容
[hadoop@ chenc01 ~]$ cd /home/hadoop/dfs/ [hadoop@ chenc01 dfs]$ ls data name [hadoop@ chenc01 dfs]$ tree . ├── data └── name └── current ├── fsimage_0000000000000000000 ├── fsimage_0000000000000000000.md5 ├── seen_txid └── VERSION 3 directories, 4 files - 配置免密要登录
[hadoop@ chenc01 dfs]$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/hadoop/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/hadoop/.ssh/id_rsa.
推荐阅读
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 联发科5G SoC天玑1000系列性能、拍照火力全开
- 「Small人物大创意」为何九寨沟这么吸引人?还被誉为是人间仙境?,九寨归来不看水
- 『聚牛科技』4T系列官宣|苹果首次取消30%苹果税|全新iPad Pro曝光,荣耀Play
- 『爱生活爱快乐爱自己』英特尔新型5 GHz第十代核心H系列
- 【科学技术宅六六】低配用国产、中配混用、高配用三星!,华为P40系列屏幕差距较大
- 『大梁观察』开封市示范区公安分局城西派出所破获系列盗窃电动车电瓶案件
- [手机中国]网友:一定要买一台,魅族17系列将有梦幻独角兽配色
- 「3C派蚁族」最高直降1600元,国产5G手机能扛得住吗?,iPhone11系列清库存
- [泡泡网资讯] 华为P40系列10倍光学变焦堪比未来科技,华为出品必属精品
- 「腾讯科技」三星:S20系列两年内半价回收,只要状态良好,但只限美国
