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

Hadoop QA commented on HBASE-19160:
-----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
19s{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:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m 
 4s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
23s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m 
 2s{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:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
24s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}148m 
24s{color} | {color:green} root in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
28s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}162m 17s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:eee3b01 |
| JIRA Issue | HBASE-19160 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12896106/HBASE-19160.v4.patch |
| Optional Tests |  asflicense  javac  javadoc  unit  |
| uname | Linux 705599edde49 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 
13:48:03 UTC 2016 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
 |
| git revision | master / 3a0f59d031 |
| maven | version: Apache Maven 3.5.2 
(138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) |
| Default Java | 1.8.0_141 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HBASE-Build/9631/testReport/ |
| modules | C: . U: . |
| Console output | 
https://builds.apache.org/job/PreCommit-HBASE-Build/9631/console |
| Powered by | Apache Yetus 0.6.0   http://yetus.apache.org |


This message was automatically generated.



> Re-expose CellComparator
> ------------------------
>
>                 Key: HBASE-19160
>                 URL: https://issues.apache.org/jira/browse/HBASE-19160
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19160.patch, HBASE-19160.v2.patch, 
> HBASE-19160.v3.patch, HBASE-19160.v4.patch
>
>
> On HBASE-18995 we moved a bunch of public methods to Private places. This 
> inadvertently breaks donwstream consumers. Let's see if we can ease up on 
> some of the lockdown and make life easier for them.
> Copying [~ram_krish]'s previous analysis:
> {quote}
> I read the Crunch projec't hbase-support related code. 
> -> It uses both CellUtil (Public exposed) and KeyValueUtil (@Private) classes 
> for helper methods.
> -> All methods in CellUtil that are getting used are even now exposed in 
> branch-2's CellUtil and they are very common helper methods. So we are safe 
> here.
> -> Wrt KeyValueUtil the API is createFirstOnRow(). It is used in test cases 
> and in some core code. In most of the places they are trying to create the 
> splitKeys from the region's start keys and that is also getting persisted. I 
> think here they can safely create a cell out of the given byte[] of the row.
> But there is one place where they are trying to do some scanning on a 
> HFileScanner directly (@Private) scanner. So this should be changed because 
> it is an internal interface for us. And on this scanner they have copied our 
> seekTo() code into their source files for some scanning purpose. In this code 
> they are actually using the KvUtil.createFirstOnRow() to seek to that first 
> cell of that row.
> More over I think in branch-2 we are restricting even CPs from accessing some 
> of our internal scanners and they can only use InternalScanner interface. So 
> this code in crunch needs heavy refactoring to work with branch-2 in case 
> they want to fit into the Public/Private exposed semantics that HBase 
> presents to the downstreamers.
> -> If still they want some APIs like this we can expose 
> CellUtil#createFirstOnRow, createLastOnRow, createFirstOnCol and 
> createLastOnCol at the maximum. I think others are not useful and are more 
> internal stuffs.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to