[
https://issues.apache.org/jira/browse/HDFS-13734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542280#comment-16542280
]
ASF GitHub Bot commented on HDFS-13734:
---------------------------------------
GitHub user bschell opened a pull request:
https://github.com/apache/hadoop/pull/403
HDFS-13734. Allow HDFS heapsizes to be configured seperately
Adds option for HDFS_NAMENODE_HEAPSIZE, HDFS_SECONDARYNAMENODE_HEAPSIZE,
HDFS_JOURNALNODE_HEAPSIZE and HDFS_DATANODE_HEAPSIZE to hadoop-env.sh so that
hdfs daemon JVM heapsizes can be separately configured. This matches the
configuration of YARN daemon's heapsizes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bschell/hadoop bschelle/heapsize
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/403.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #403
----
commit e724ef08ed04f7d8d358b8674580c7c615285769
Author: Scheller <bschelle@...>
Date: 2018-07-10T23:06:48Z
Allow Datanode and Namenode heapsize to be configured seperately
Adds option for HDFS_NAMENODE_HEAPSIZE, HDFS_SECONDARYNAMENODE_HEAPSIZE,
HDFS_JOURNALNODE_HEAPSIZE and HDFS_DATANODE_HEAPSIZE to hadoop-env.sh so that
namenode and datanode JVM heapsizes can be separately configured. This matches
the configuration of YARN daemon's heapsizes.
----
> Add Heapsize variables for HDFS daemons
> ---------------------------------------
>
> Key: HDFS-13734
> URL: https://issues.apache.org/jira/browse/HDFS-13734
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: datanode, journal-node, namenode
> Affects Versions: 3.0.3
> Reporter: Brandon Scheller
> Priority: Major
>
> Currently there are no variables to set HDFS daemon heapsize differently.
> While still possible through adding the -Xmx to HDFS_*DAEMON*_OPTS, this is
> not intuitive for this relatively common setting.
> YARN currently has these separate YARN_*DAEMON*_HEAPSIZE variables supported
> so it seems natural for HDFS too.
> It also looks like HDFS use to have this for namenode with
> HADOOP_NAMENODE_INIT_HEAPSIZE
> This JIRA is to have these configurations added/supported
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]