Skip to content

Commit

Permalink
HBASE-23994:Add WebUI to Canary(Map to ConcurrentMap)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorryHuang committed Apr 9, 2020
1 parent b168847 commit fc29b87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@ public void publishReadTiming(String znode, String server, long msTime) {
public static class RegionStdOutSink extends StdOutSink {
private Map<String, LongAdder> perTableReadLatency = new HashMap<>();
private LongAdder writeLatency = new LongAdder();
private final Map<String, List<RegionTaskResult>> regionMap = new ConcurrentHashMap<>();
private Map<ServerName, LongAdder> perServerFailuresCount = new ConcurrentHashMap<>();
private Map<String, LongAdder> perTableFailuresCount = new ConcurrentHashMap<>();
private final ConcurrentHashMap<String, List<RegionTaskResult>> regionMap = new ConcurrentHashMap<>();
private ConcurrentHashMap<ServerName, LongAdder> perServerFailuresCount = new ConcurrentHashMap<>();
private ConcurrentHashMap<String, LongAdder> perTableFailuresCount = new ConcurrentHashMap<>();

public Map<ServerName, LongAdder> getPerServerFailuresCount() {
return perServerFailuresCount;
Expand Down

0 comments on commit fc29b87

Please sign in to comment.