Cloudera配置问题

很明显这个问题是因为yarn设置的相关内存不足,有过Apache Hadoop配置经验的人都会去改yarn-site.xml的配置文件,但是对于Cloudera来说它提供的配置文件分在好多目录,让你很迷惑。其实Cloudera是通过网页Cloudera Manager 来配置这些参数的。

Memory errors

Configuring YARN after executor memory errors
The following error can occur when the required executor memory is above the maximum threshold:
Caused by: com.spss.mapreduce.exceptions.JobException:
    java.lang.IllegalArgumentException: Required executor memory (1024+384  MB) is above the max
    threshold (1024 MB) of this cluster! Please  increase the value of
    'yarn.scheduler.maximum-allocation-mb'.
For Cloudera
  1. Increase the yarn.nodemanager.resource.memory-mb to 8GB
    • In the Cloudera Manager user interface, go to Yarn service > Configurations > Search Container Memory and increase the value to 8GB.
  2. In the Cloudera Manager user interface, go to YARN service > Quick Links and select Dynamic Resource Pools.
  3. Under Configuration, click edit for each of the available pools, and under YARN set the Max Running Apps value to 4.
  4. Restart YARN, Spark, and the Analytic Server service.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值