当前位置:网站首页>Briefly understand namenode and datanode
Briefly understand namenode and datanode
2022-07-28 01:24:00 【Brother Xing plays with the clouds】
One 、Hadoop Start of
Before reading this article , You should read :Hadoop Installation and environment construction .
1. First, in the npdev1 Running on the machine hadoop-daemon.sh start namenode, start-up namenode.
2. And then in npfdev2,npfdev3,npfdev4 Run respectively hadoop-daemon.sh start datanode
3. Once the boot is complete , our Hadoop The physical and logical architecture of is as follows :
npfdev1 Running on the machine namenode, npfdev2,npfdev3,npfdev4 Run respectively datanode.
4. HDFS The structure is as follows :
Hadoop Simply put, it is backed up by multiple machines , A system that can scale horizontally .
Two 、 Use the command line to view the entire colony Information
1. Use hdfs dfsadmin -report command
We want to better show , Use hdfs dfsadmin -report | more command :
1.1 see colony Usage situation :
1.2 see colony Of datanode The situation of , All in all 3 individual live Of datanode.
first datanode:
the second datanode:
Third datanode:
3、 ... and 、 Use web View the whole cluster information on the page
1. visit http://npfdev1:50070, choice Overview Options :
2. choice Datanodes Options :
3. choice Utilities Under the options browse directory, You can see the usage of the whole hard disk :
4. choice Utilities Under the options logs, You can see the startup log :
Four 、 close Hadoop colony
1. First, in the npdev1 Running on the machine hadoop-daemon.sh stop namenode.
2. And then in npfdev2,npfdev3,npfdev4 Run respectively hadoop-daemon.sh stop datanode.
5、 ... and 、 Startup and shutdown Hadoop Summary of cluster command steps :
1. stay master Start the hadoop-daemon.sh start namenode. 2. stay slave Start the hadoop-daemon.sh start datanode. 3. use jps Observe the execution result of the instruction . 4. use hdfs dfsadmin -report Observe the cluster configuration . 5. adopt http://npfdev1:50070 Observe the cluster operation on the interface . 6. use hadoop-daemon.sh stop ... Manually shut down the cluster .
边栏推荐
- JG-数据重置(wd)
- Anfulai embedded weekly report no. 275: 2022.07.18--2022.07.24
- EWM收货ECC交货单校验逻辑问题
- 【游戏】任天堂Nintendo Switch超详细购买/使用指南以及注意事项(根据自己使用持续更新中...)
- Behind the war of seizing power in arm China: "two years of independence, it is still difficult to" independent "?
- Spool timer
- Cesium add annular diffusion ripple
- Shenzhen Huaqiang announced that it plans to invest no more than 20million yuan in BYD semiconductor
- Go language variable
- Wentai technology acquired the remaining equity of ANSYS semiconductor and obtained unconditional approval
猜你喜欢
![[C language] file operation](/img/6e/b8f3466ca0a5f7424afcab561124af.png)
[C language] file operation

3年经验想拿20K,居然面了半个月都没拿到?

Lua进阶

Redis sentinel mode

Basic concept and classification of i/o equipment

迅为i.MX6ULL开发板Qt系统移植-交叉编译Qt代码

From functional testing to automated testing, my monthly salary has exceeded 30k+, and I have 6 years of testing experience.

浏览器视频帧操作方法 requestVideoFrameCallback() 简介

Codeforces暑期训练周报(7.21~7.27)

Software process that testers need to know
随机推荐
Codeforces暑期训练周报(7.21~7.27)
Safety detection risk
重新定义分析 - EventBridge 实时事件分析平台发布
Harmonyos 3 was officially released: Hongmeng mobile phones are smooth and safe, and Hongmeng terminals are often used
Wu xiongang sent an internal letter: arm's allegations are unwarranted, and no damage is allowed to the existing achievements!
激光器芯片厂商陕西源杰半导体获广发证券、中信证券等8家投资机构入股
Swoole内存-table详解
Advanced MySQL -- stored procedures and custom functions
Operator depth anatomy
Xinyi information technology, a domestic NB IOT chip manufacturer, received 200million yuan of a+ round financing
Cesium add light sweep
Ford SUV "Mustang" officially went offline, safe and comfortable
[C language] file operation
Hierarchy of file system
Tear the source code of gateway by hand, and tear the source code of workflow and load balancing today
Cesium add annular diffusion ripple
华米科技“黄山2号”发布:AI性能提升7倍,功耗降低50%!
容器网络硬核技术内幕 (7) 大海航行靠舵手
C语言main函数传递参数
EWM收货ECC交货单校验逻辑问题