配置yarn多线程运行模式

修改yarn-site.xml文件,添加如下:


    
        yarn.resourcemanager.scheduler.class
        org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
    

    
        yarn.scheduler.fair.preemption
        true
    


    
        yarn.scheduler.fair.preemption.cluster-utilization-threshold
        1.0
    

 

你可能感兴趣的:(hadoop)