maobaolong created HDDS-3546:
--------------------------------
Summary: The default config items of ScmClientConfig don't appear
in the ozone-filesystem-xxx-jar
Key: HDDS-3546
URL: https://issues.apache.org/jira/browse/HDDS-3546
Project: Hadoop Distributed Data Store
Issue Type: Bug
Components: Ozone Filesystem, SCM Client
Affects Versions: 0.6.0
Reporter: maobaolong
for example `scm.container.client.idle.threshold` should in the default config
file of ozone, Without it, the following logic won't work well while put a key.
{code:java}
long staleThresholdMs = clientConf.getStaleThreshold(MILLISECONDS);
this.clientCache = CacheBuilder.newBuilder()
.expireAfterAccess(staleThresholdMs, MILLISECONDS)
.maximumSize(clientConf.getMaxSize())
{code}
because the staleThresholdMs is 0, if we don't config it, it should return the
default value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]