[ 
https://issues.apache.org/jira/browse/HDDS-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-3546:
--------------------------------
    Target Version/s: 0.6.0
              Labels: Triaged pull-request-available  (was: 
pull-request-available)

> 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
>            Assignee: Simon Su
>            Priority: Major
>              Labels: Triaged, pull-request-available
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to