Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
After reconfig dfs.datanode.data.dir, we found that the stats of the Namenode Web became negative and there were many NPE in namenode logs. This problem has been solved by HDFS-14042.
However, if HeartbeatManager#updateHeartbeat and HeartbeatManager#updateLifeline throw other exceptions, stats errors can also occur. We should ensure that stats.subtract() and stats.add() are transactional.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-14042 Fix NPE when PROVIDED storage is missing
- Resolved
- links to