You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2019/02/19 16:57:03 UTC

[jira] [Commented] (HBASE-21918) the use cases in doc should use Cell instead of KeyValue

    [ https://issues.apache.org/jira/browse/HBASE-21918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772113#comment-16772113 ] 

Hadoop QA commented on HBASE-21918:
-----------------------------------

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 13s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  5m 51s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} refguide {color} | {color:blue}  6m 52s{color} | {color:blue} branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect. {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  5m 22s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:blue}0{color} | {color:blue} refguide {color} | {color:blue}  6m 46s{color} | {color:blue} patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect. {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 16s{color} | {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 25m 41s{color} | {color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:b002b0b |
| JIRA Issue | HBASE-21918 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12959277/HBASE-21918.patch |
| Optional Tests |  dupname  asflicense  refguide  |
| uname | Linux 22ab6905a8fd 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/component/dev-support/hbase-personality.sh |
| git revision | master / c578020588 |
| maven | version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) |
| refguide | https://builds.apache.org/job/PreCommit-HBASE-Build/16038/artifact/patchprocess/branch-site/book.html |
| refguide | https://builds.apache.org/job/PreCommit-HBASE-Build/16038/artifact/patchprocess/patch-site/book.html |
| Max. process+thread count | 87 (vs. ulimit of 10000) |
| modules | C: . U: . |
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/16038/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> the use cases in doc should use Cell instead of KeyValue
> --------------------------------------------------------
>
>                 Key: HBASE-21918
>                 URL: https://issues.apache.org/jira/browse/HBASE-21918
>             Project: HBase
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Zheng Wang
>            Assignee: Zheng Wang
>            Priority: Trivial
>              Labels: starter
>         Attachments: HBASE-21918.patch
>
>
> the describe of KeyValue:
> ...
>  * HBase applications and users should use the Cell interface and avoid directly using KeyValue and
>  * member functions not defined in Cell.
> ...
> for example,the use case of ColumnRangeFilter:
> ...
> ResultScanner rs = t.getScanner(scan);
> for (Result r = rs.next(); r != null; r = rs.next()) {
>  for (KeyValue kv : r.raw()) {
>  // each kv represents a column
>  }
> }
> ...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)