In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Record cloudera expansion disk
1, 4 hosts, each adding a 2TB hard disk
2. First, briefly explain the steps.
A, partition, mount (mount directory (name, path) should be consistent)
B. in the mounted partition, create the corresponding folder and authorize
C. In the hdfs configuration interface of cdh, configure the directory of the new hdfs, then deploy the client configuration and scroll restart
3. Operation steps
Partition (LVM logical volumes):
# pvcreate / dev/sdc
# vgcreage Vgroup03 / dev/sdc
# lvcreate-n cdh01-L + 1.8T Vgroup03
# mkfs.ext4 / dev/mapper/Vgroup03-cdh01
Mount (be sure to enter in this order):
# mkdir / cdh01
# mount / dev/mapper/Vgroup01-cdh01 / cdh01
Power on and mount automatically
# vim / etc/fstab
Insert / dev/mapper/Vgroup03-cdh01 / cdh01 ext4 defaults 01
Save, exit
Create a folder:
# mkdir / cdh01/dfs
# mdkir / cdh01/dfs/dn
Authorization:
# chown-R hdfs:hadoop / cdh01/dfs/
-4 hosts do the same operation, and the partition mount directory should be consistent-
Log in to cdh and select HDFS from the cluster
Select configuration options in the middle section
In the menu bar on the left, select DataNode Default Group
Add a new directory to the "+" point after the existing directory, and then enter the directory we have mounted and save it.
Select instance option
Select the instance of DataNode and select scroll restart
After the restart, go to the interface of the HDFS cluster to see that it should have been successful.
Datanode group "Advanced", in the datanode volume selection strategy on the right, select "free space" so that the next two attributes ("10GB" and "0.75") will play a role in balancing space usage in each volume.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.