You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "maobaolong (Jira)" <ji...@apache.org> on 2020/05/06 07:38:00 UTC

[jira] [Created] (HDDS-3546) The default config items of ScmClientConfig don't appear in the ozone-filesystem-xxx-jar

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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org