You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/12/02 08:12:00 UTC

[jira] [Resolved] (HDFS-17233) The conf dfs.datanode.lifeline.interval.seconds is not considering time unit seconds

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

Ayush Saxena resolved HDFS-17233.
---------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> The conf dfs.datanode.lifeline.interval.seconds is not considering time unit seconds
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-17233
>                 URL: https://issues.apache.org/jira/browse/HDFS-17233
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Hemanth Boyina
>            Assignee: Palakur Eshwitha Sai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
> {code:java}
> long confLifelineIntervalMs =
>     getConf().getLong(DFS_DATANODE_LIFELINE_INTERVAL_SECONDS_KEY,
>     3 * getConf().getTimeDuration(DFS_HEARTBEAT_INTERVAL_KEY,
>     DFS_HEARTBEAT_INTERVAL_DEFAULT, TimeUnit.SECONDS,
>         TimeUnit.MILLISECONDS)); {code}
> if we configure DFS_DATANODE_LIFELINE_INTERVAL_SECONDS_KEY, the value is not converting to Ms. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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