Joke Collection Website - Blessing messages - Hadoop MapReduce Optimization and Resource Scheduler
Hadoop MapReduce Optimization and Resource Scheduler
limit
All resources are divided into different queues in proportion.
Each queue can implement a separate scheduling policy.
superiority
divider
Capacity schedule
Use CapacityScheduler in yarn-site.xml settings.
Create capacity-scheduler.xml in the Hadoop profile directory /usr/local/hadoop/etc/hadoop and add the following information:
Configuration description
Fair scheduler
The purpose of fair scheduler is to:
Fair scheduler configuration method
Add the following information to the Hadoop configuration directory/usr/local/Hadoop/etc/Hadoop yarn-site.xml:
Create a new fair scheduling configuration file fair-scheduler.xml with the following information:
The above configuration uses the data_bi user name as the queue name for fair scheduling.
Parameter description of yarn-site.xml
Fair-scheduler.xml parameter description
Put all applications in one queue.
All resources are divided into different queues in proportion.
Each queue can implement a separate scheduling policy.
superiority
divider
Capacity schedule
Use CapacityScheduler in yarn-site.xml settings.
Create capacity-scheduler.xml in the Hadoop profile directory /usr/local/hadoop/etc/hadoop and add the following information:
Configuration description
Fair scheduler
The purpose of fair scheduler is to:
Fair scheduler configuration method
Add the following information to the Hadoop configuration directory/usr/local/Hadoop/etc/Hadoop yarn-site.xml:
Create a new fair scheduling configuration file fair-scheduler.xml with the following information:
The above configuration uses the data_bi user name as the queue name for fair scheduling.
Parameter description of yarn-site.xml
Fair-scheduler.xml parameter description
If Hadoop starts and neither named node can start, the namenode log will display the following error:
Hadoop HDFS was started with root, so Hadoop users can't access the file, so you can take the following actions to restore it.
- Previous article:Bride's wedding speech
- Next article:How can I intercept other people¡¯s mobile phone text messages?
- Related articles
- Where can I buy automatic white?
- How to open the bank's safe? What's the rental fee?
- Suddenly received a towel written by SF Express.
- How long does it take for Unicom to recharge?
- Wechat friends said that Weizhong Bank handled the loan.
- Shenzhen received a home quarantine message. Is the health code green? Do you need quarantine in Tianjin?
- Go to ATM to deposit money, and the mobile phone receives a text message, which is deposit insurance. What's going on here?
- How to query the results of the online application system of Beijing Zhunsheng Certificate?
- The party branch holds a theme party day every few months.
- Always gambling on text messages