guluo2016 commented on code in PR #7530:
URL: https://github.com/apache/hbase/pull/7530#discussion_r2617194139


##########
hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java:
##########
@@ -143,7 +144,7 @@ public void run() throws Exception {
     System.out.print("row = " + ClientUtils.utf8(result.getRow()));
     for (TColumnValue resultColumnValue : result.getColumnValues()) {
       System.out.print("family = " + 
ClientUtils.utf8(resultColumnValue.getFamily()));
-      System.out.print("qualifier = " + 
ClientUtils.utf8(resultColumnValue.getFamily()));
+      System.out.print("qualifier = " + 
ClientUtils.utf8(resultColumnValue.getQualifier()));

Review Comment:
   I mean, in lines 128–134 in this class, the column_family and qualifier name 
defined earlier are inconsistent with those used here.
   ```java
   columnValue.setFamily(Bytes.toBytes("family1"));
   columnValue.setQualifier(Bytes.toBytes("qualifier1"));
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to