数码资讯
hadoop的内存heap大小的配置参数
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
1、tasktracker的heapsize的大小设置 <property> <name>mapred.child.java.opts</name> <value>-Xmx200m</value> <description>Java opts for the task tracker child processes. The following symbol, if present, will be interpolated: @taskid@ is replaced by current TaskID. Any other occurrences of '@' will go unchanged. For example, to enable verbose gc logging to a file named for the taskid in /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of: -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc The configuration variable mapred.child.ulimit can be used to control the maximum virtual memory of the child processes. </description> </property> 2、namenode、datanode和jobtracker的heapsize的设置: hadoop-env.sh中的HADOOP_HEAPSIZE的变量来制定
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。