Tsz-wo Sze created HDDS-14369:
---------------------------------
Summary: SCMNodeManager does not honor
OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT
Key: HDDS-14369
URL: https://issues.apache.org/jira/browse/HDDS-14369
Project: Apache Ozone
Issue Type: Bug
Components: SCM
Reporter: Tsz-wo Sze
{code}
// ScmConfigKeys
public static final int OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT = 2;
{code}
{code}
// SCMNodeManager
String dnLimit = conf.get(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT);
this.heavyNodeCriteria = dnLimit == null ? 0 : Integer.parseInt(dnLimit);
{code}
The OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT is 2 but SCMNodeManager uses 0 when
the conf is not set.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]