liuxiaocs7 commented on code in PR #7530:
URL: https://github.com/apache/hbase/pull/7530#discussion_r2617235326
##########
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:
Hi, @guluo2016, Thank you for your patience.
L126 ~ L137 We constructed a Put object with a rowkey of `row1`.
https://github.com/apache/hbase/blob/cc8bdc295837dd8174cecc1ac706d17fd2224ab0/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java#L126-L137
Then, in L139 ~ L150, we get the result for this rowkey of `row1`, then
iterate through the entire result set and output.
https://github.com/apache/hbase/blob/cc8bdc295837dd8174cecc1ac706d17fd2224ab0/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java#L139-L150
with the output as follows:
```java
row = row1
family = family1
qualifier = qualifier1
value = value1
timestamp = 1765724068283
```
I still don't quite understand what you mean by inconsistency. Could you
please explain it more and again? Thank you very much!
--
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]