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

Palakur Eshwitha Sai commented on HDFS-17233:
---------------------------------------------

Verified from the datanode logs that the time unit for 
dfs.datanode.lifeline.interval.seconds is correctly considered as seconds and 
conversion to ms is happening now. Checked for both the scenarios where 
lifeline interval is greater than and less than equal to the heartbeat interval.

> 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
>
> {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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to