diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
index f2829e8ec82..80569002cae 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
@@ -799,11 +799,11 @@ public interface RegionInfo {
}
int startKeyCompare = Bytes.compareTo(getStartKey(), other.getStartKey());
if (startKeyCompare == 0) {
- return true;
+ return !this.isSplitParent();
}
if (startKeyCompare < 0) {
if (isLast()) {
- return true;
+ return !this.isSplitParent();
}
return Bytes.compareTo(getEndKey(), other.getStartKey()) > 0;
}
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp b/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
index a003e5fe096..6ae5d68f68d 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
@@ -76,6 +76,11 @@
This page displays two reports. Only the report titles show if reports are empty.
+
There are three cases: 1. Master thought this region opened, but no regionserver reported it (Fix: use assigns
@@ -127,13 +132,13 @@
<% } %>
+ <% if (orphanRegionsOnRS != null && orphanRegionsOnRS.size() > 0) { %>
Report created: <%= iso8601reportTime %> (now=<%= iso8601Now %>). Run catalogjanitor_run in hbase shell to generate a new sub-report. Report created: <%= iso8601reportTime %> (now=<%= iso8601Now %>). Run catalogjanitor_run in hbase shell to generate a new sub-report.Orphan Regions on RegionServer
<% } %>
+ <% if (orphanRegionsOnFS != null && orphanRegionsOnFS.size() > 0) { %>
Region Encoded Name
@@ -150,13 +155,13 @@
Orphan Regions on FileSystem
<% } %>
-
Region Encoded Name
@@ -173,20 +178,24 @@
CatalogJanitor hbase:meta Consistency Issues
- CatalogJanitor hbase:meta Consistency Issues
+