[英]Update to mapred-default.xml not visible in web UI configuration
I have an Apache Kylin container running in docker.我有一个 Apache Kylin 容器在 docker 中运行。 I was getting a Java heap space error in map reduce phase so I tried updating some parameters in Hadoop mapred-default.xml file.
I was getting a Java heap space error in map reduce phase so I tried updating some parameters in Hadoop mapred-default.xml file. After making the changes, I restarted the container but, when I go to Yarn ResourceManager Web UI and then to Configuration:
进行更改后,我重新启动了容器,但是,当我 go 到 Yarn ResourceManager Web UI 然后到配置时:
An xml file is opened, looking like this:打开 xml 文件,如下所示:
However my new values for the properties that I set inside the mapred-default.xml are not here, it is showing the old values for those properties... Does anyone have any idea why that is happening and what I should do to make it register the new values?但是,我在 mapred-default.xml 中设置的属性的新值不在这里,它显示了这些属性的旧值...有谁知道为什么会发生这种情况以及我应该怎么做才能做到这一点注册新值? I tried restarting the container, but it didn't help...
我尝试重新启动容器,但它没有帮助......
To override a default value for a property, specify the new value within the tags, inside mapred-site.xml
not mapred-default.xml
, using the following format:要覆盖属性的默认值,请在标签中指定新值,在
mapred-site.xml
而不是mapred-default.xml
中,使用以下格式:
<property>
<name>mapreduce.map.memory.mb</name>
<value>1024</value>
</property>
Be sure restart yarn after reconfigure by stop-yarn.sh
and start-yarn.sh
.确保通过
stop-yarn.sh
和start-yarn.sh
重新配置后重新启动纱线。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.