How Do I Disable HDFS Hedged Read on HBase?
Symptom
HDFS hedged read is enabled by default to reduce read latency and adapt to network changes. Table 1 describes related parameters.
Parameter |
Description |
Default Value |
Value Range |
---|---|---|---|
dfs.client.hedged.read.threshold.millis |
The number of milliseconds the HDFS client waits for the first byte of the first data block before deciding whether to start a hedged read |
250 |
Greater than or equal to 1 |
dfs.client.hedged.read.threadpool.size |
Size of the hedged read thread pool. If this parameter is set to a value greater than 0, multiple read channels are enabled. |
200 |
Greater than or equal to 0 |
HDFS hedged read may cause performance deterioration when the disk I/O is high. You need to disable this function on HBase by referring to Procedure.
Procedure
- Log in to FusionInsight Manager.
- Choose Cluster > Service > HBase > Configurations > All Configurations. The All Configurations page is displayed.
- Search for dfs.client.hedged.read.threadpool.size and change its value to 0.
- Click Save.
- Click Instances, select all RegionServer instances, and choose More > Instance Rolling Restart to apply the changes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot