Index: src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
===================================================================
--- src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (revision 684026)
+++ src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (working copy)
@@ -1047,21 +1047,7 @@
}
/** {@inheritDoc} */
- public RowResult getRow(final byte [] regionName, final byte [] row,
- final long ts)
- throws IOException {
- return getRow(regionName, row, null, ts);
- }
-
- /** {@inheritDoc} */
public RowResult getRow(final byte [] regionName, final byte [] row,
- final byte [][] columns)
- throws IOException {
- return getRow(regionName, row, columns, HConstants.LATEST_TIMESTAMP);
- }
-
- /** {@inheritDoc} */
- public RowResult getRow(final byte [] regionName, final byte [] row,
final byte [][] columns, final long ts)
throws IOException {
checkOpen();
Index: src/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java
===================================================================
--- src/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java (revision 684026)
+++ src/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java (working copy)
@@ -94,18 +94,6 @@
throws IOException;
/**
- * Get all the data for the specified row at a given timestamp
- *
- * @param regionName region name
- * @param row row key
- * @return map of values
- * @throws IOException
- */
- public RowResult getRow(final byte [] regionName, final byte [] row,
- final long ts)
- throws IOException;
-
- /**
* Return all the data for the row that matches row exactly,
* or the one that immediately preceeds it.
*
@@ -131,18 +119,6 @@
throws IOException;
/**
- * Get selected columns for the specified row at the latest timestamp.
- *
- * @param regionName region name
- * @param row row key
- * @return map of values
- * @throws IOException
- */
- public RowResult getRow(final byte [] regionName, final byte [] row,
- final byte[][] columns)
- throws IOException;
-
- /**
* Applies a batch of updates via one RPC
*
* @param regionName name of the region to update
Index: src/java/org/apache/hadoop/hbase/client/HTable.java
===================================================================
--- src/java/org/apache/hadoop/hbase/client/HTable.java (revision 684026)
+++ src/java/org/apache/hadoop/hbase/client/HTable.java (working copy)
@@ -554,14 +554,7 @@
*/
public RowResult getRow(final byte [] row, final long ts)
throws IOException {
- return connection.getRegionServerWithRetries(
- new ServerCallable(connection, tableName, row) {
- public RowResult call() throws IOException {
- return server.getRow(location.getRegionInfo().getRegionName(), row,
- ts);
- }
- }
- );
+ return getRow(row,null,ts);
}
/**