[
https://issues.apache.org/jira/browse/HDFS-16400?focusedWorklogId=707208&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-707208
]
ASF GitHub Bot logged work on HDFS-16400:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Jan/22 01:30
Start Date: 12/Jan/22 01:30
Worklog Time Spent: 10m
Work Description: tomscut commented on a change in pull request #3843:
URL: https://github.com/apache/hadoop/pull/3843#discussion_r782645429
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
##########
@@ -68,8 +68,7 @@
* Enforcing the limit is required in order to avoid data-node
* running out of memory.
*/
- int maxXceiverCount =
- DFSConfigKeys.DFS_DATANODE_MAX_RECEIVER_THREADS_DEFAULT;
+ volatile int maxXceiverCount;
Review comment:
Thanks @virajjasani for your review. IMO, to ensure consistency across
threads, we need to make it volatile.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 707208)
Time Spent: 1.5h (was: 1h 20m)
> Reconfig DataXceiver parameters for datanode
> --------------------------------------------
>
> Key: HDFS-16400
> URL: https://issues.apache.org/jira/browse/HDFS-16400
> Project: Hadoop HDFS
> Issue Type: New Feature
> Reporter: tomscut
> Assignee: tomscut
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> To avoid frequent rolling restarts of the DN, we should make DataXceiver
> parameters reconfigurable.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]