hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Erofeev (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-11754) Make FsServerDefaults cache configurable.
Date Sun, 29 Oct 2017 18:24:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224129#comment-16224129
] 

Mikhail Erofeev edited comment on HDFS-11754 at 10/29/17 6:23 PM:
------------------------------------------------------------------

Thanks [~shahrs87] for the careful review. I fixed your comments.
Spy for a `FsServerDefaults` object was done in order to avoid calling a big constructor only
to update one parameter, but I changed it as you think that it is better than a spy. 


was (Author: erofeev):
Thanks [~shahrs87] for the careful review. The notes your comments.
Spy for a `FsServerDefaults` object was done in order to avoid calling a big constructor only
to update one parameter, but I changed it as you think that it is better than a spy. 

> Make FsServerDefaults cache configurable.
> -----------------------------------------
>
>                 Key: HDFS-11754
>                 URL: https://issues.apache.org/jira/browse/HDFS-11754
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Rushabh S Shah
>            Assignee: Mikhail Erofeev
>            Priority: Minor
>              Labels: newbie
>         Attachments: HDFS-11754.001.patch, HDFS-11754.002.patch, HDFS-11754.003.patch,
HDFS-11754.004.patch, HDFS-11754.005.patch, HDFS-11754.006.patch
>
>
> DFSClient caches the result of FsServerDefaults for 60 minutes.
> But the 60 minutes time is not configurable.
> Continuing the discussion from HDFS-11702, it would be nice if we can make this configurable
and make the default as 60 minutes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message