You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2020/06/23 14:07:00 UTC
[jira] [Resolved] (HDDS-3546) The default config items of
ScmClientConfig don't appear in the ozone-filesystem-xxx-jar
[ https://issues.apache.org/jira/browse/HDDS-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Elek resolved HDDS-3546.
-------------------------------
Resolution: Won't Fix
See my comment on the PR.
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org