[英]EMR 6.7 configuration in EMR 6.9 gives error Classification 'spark-log4j' is not valid for parent classification 'null'
I was using emr 6.7 with the software configuration:我在软件配置中使用 emr 6.7:
[
{
"Classification": "spark",
"Properties": {
"maximizeResourceAllocation": "true"
}
},
{
"Classification": "spark-log4j",
"Properties": {
"log4j.rootCategory": "ERROR, console"
}
}
]
but for some reason when I shifted to emr 6.9.但出于某种原因,当我转向 emr 6.9 时。
The was website started throwing error was 网站开始抛出错误
Classification 'spark-log4j' is not valid for parent classification 'null'.分类“spark-log4j”对于父分类“null”无效。
If I remove this spark-log4j then it works but starts giving unnecessary INFO and DEBUG logs如果我删除这个 spark-log4j 然后它工作但开始提供不必要的 INFO 和 DEBUG 日志
How can I configure spark-log4j in EMR 6.9?如何在 EMR 6.9 中配置 spark-log4j?
There is a classification of 'spark-log4j2' now: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-690-release.html#emr-690-class .现在有一个'spark-log4j2'的分类: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-690-release.html#emr-690-class 。 I guess using that would solve your problem.我想使用它可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.