From 2f327c911056d02813f642503db9a4383e8b4a2f Mon Sep 17 00:00:00 2001 From: anoopsjohn Date: Tue, 14 Jul 2015 14:52:50 +0530 Subject: [PATCH] HBASE-14073 TestRemoteTable.testDelete failed in the latest trunk code.(Jingcheng) --- .../org/apache/hadoop/hbase/rest/client/RemoteHTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f85d745b8ed..0f1a2381ca4 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 @@ public class RemoteHTable implements Table { 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"); }