diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java index f85d745..0f1a238 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java @@ -115,8 +115,8 @@ protected String buildRowSpec(final byte[] row, final Map familyMap, if (o instanceof byte[]) { sb.append(Bytes.toStringBinary((byte[])o)); } else if (o instanceof KeyValue) { - sb.append(Bytes.toStringBinary(((KeyValue) o).getRowArray(), - ((KeyValue) o).getRowOffset(), ((KeyValue) o).getRowLength())); + sb.append(Bytes.toStringBinary(((KeyValue) o).getQualifierArray(), + ((KeyValue) o).getQualifierOffset(), ((KeyValue) o).getQualifierLength())); } else { throw new RuntimeException("object type not handled"); }