srinireddy2020 commented on code in PR #7126:
URL: https://github.com/apache/hbase/pull/7126#discussion_r2198292860
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java:
##########
@@ -433,8 +433,9 @@ public List<String> getWALExcludeDNs() {
if (excludeDatanodeManager == null) {
return Collections.emptyList();
}
- return excludeDatanodeManager.getExcludeDNs().entrySet().stream()
- .map(e -> e.getKey().toString() + ", " +
e.getValue()).collect(Collectors.toList());
+ return excludeDatanodeManager.getExcludeDNs().entrySet().stream().map(e ->
e.getKey().toString()
+ + " - " + e.getValue().getSecond() + " - " + e.getValue().getFirst())
Review Comment:
In RS Wals page, for WAL Exclude DNs It will display like
DatanodeInfoStorage[<ip:port,DatanodeStrorageID,DISK] - cause - TimeStamp
example:
DatanodeInfoStorage[127.0.0.1:50074,DS-fd74b292-e398-4206-9253-99734b557ae2,DISK]
- connect error - 1724043945082
DatanodeInfoStorage[127.0.0.2:50074,DS-fd74b292-e398-4206-9253-99734b557ae4,DISK]
- slow packet ack - 1724043945678
--
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]