liuml07 commented on a change in pull request #1485: HBASE-23969 Meta browser
should show all `info` columns
URL: https://github.com/apache/hbase/pull/1485#discussion_r407047410
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/RegionReplicaInfo.java
##########
@@ -102,6 +117,27 @@ public ServerName getServerName() {
return serverName;
}
+ public String getTransitioningOnServerName() {
+ return transitioningOnServerName;
+ }
+
+ public String getMergeRegionName() {
+ return (mergeRegionInfo != null)
+ ? mergeRegionInfo.stream()
+ .map(RegionInfo::getRegionName)
+ .map(Bytes::toStringBinary)
+ .collect(Collectors.joining(", "))
+ : "";
Review comment:
This has been simplified with nullable collection. So no `? :` is required
here then.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services