PHOENIX-2575 Prevent LocalIndexIT from hanging indefinitely(Rajeshbabu)
diff --git a/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java b/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java
index 172486d..74c7201 100644
--- a/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java
+++ b/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java
@@ -449,14 +449,6 @@
}
@Override
- public byte[] getLastKey() {
- // This method won't get used for the index region. There is no need to call
- // getClosestRowBefore on the index table. Also this is a split region. Can not be further
- // split
- throw new UnsupportedOperationException("Method is not implemented!");
- }
-
- @Override
public byte[] midkey() throws IOException {
// Returns null to indicate file is not splitable.
return null;