pankaj72981 commented on code in PR #6117:
URL: https://github.com/apache/hbase/pull/6117#discussion_r1691774182
##########
hbase-server/src/main/resources/hbase-webapps/regionserver/region.jsp:
##########
@@ -79,17 +86,20 @@
<th>Len Of Biggest Cell</th>
<th>Key Of Biggest Cell</th>
</tr>
- <% for(StoreFile sf : storeFiles) { %>
+ <% int count = 0;
+ for(StoreFile sf : storeFiles) {
+ if (!fs.exists(sf.getPath())) continue;
Review Comment:
IMO it's worth to add a primary region check, we will save unnecessary RPCs
to Namenode.
We can extract to a boolean variable, and use here.
--
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]