HDFS-14366

In our HDFS cluster we observed that append operation can take as much as 10X write lock time than other write operations. getDatanodeManager().getNumLiveDataNodes() is very expensive. The fix is not to invoke it unless we really need to. Just add a short cut to return true if liveReplicas >= minReplication

4 2 2 4 Jan. 26, 2024, 4:30 PM

Authors

Launch on Chameleon

Launching this artifact will open it within Chameleon’s shared Jupyter experiment environment, which is accessible to all Chameleon users with an active allocation.

Download Archive

Download an archive containing the files of this artifact.

Version Stats

4 2 2