Skip to content

Conversation

@lokeshj1703
Copy link
Contributor

What changes were proposed in this pull request?

On increasing the block deletion limit for SCM from 10000 blocks per interval to 100000 blocks, the heartbeats were timing out in the datanodes. Current rpc timeout configured for SCM heartbeat is 1 second. The jira proposes to increase the rpc timeout to 5 seconds.
With 5 second configuration timeouts were not seen by the datanodes.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4505

How was this patch tested?

Existing UT.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lokeshj1703 for working on this. Default block deletion limit is still 10000, so I don't see why default heartbeat timeout should be increased. It can be configured by admins who change the limit manually. Maybe the description for block deletion limit config can mention how these settings are related.

@Config(key = "block.deletion.per-interval.max",
type = ConfigType.INT,
defaultValue = "10000",

@nandakumar131 nandakumar131 merged commit 8ded841 into apache:master Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants