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

Hadoop QA commented on HBASE-21619:
-----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} 
| {color:red} HBASE-21619 does not apply to master. Rebase required? Wrong 
Branch? See https://yetus.apache.org/documentation/0.8.0/precommit-patchnames 
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HBASE-21619 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12952363/HBASE-21619.master.001.patch
 |
| Console output | 
https://builds.apache.org/job/PreCommit-HBASE-Build/16532/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> Fix warning message caused by incorrect ternary operator evaluation
> -------------------------------------------------------------------
>
>                 Key: HBASE-21619
>                 URL: https://issues.apache.org/jira/browse/HBASE-21619
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Trivial
>         Attachments: HBASE-21619.master.001.patch
>
>
> {code:title=LoadIncrementalHFiles#doBulkLoad}
> LOG.warn(
>           "Bulk load operation did not find any files to load in " + 
> "directory " + hfofDir != null
>               ? hfofDir.toUri().toString()
>               : "" + ".  Does it contain files in " +
>                   "subdirectories that correspond to column family names?");
> {code}
> JDK complains {{"Bulk load operation did not find any files to load in " + 
> "directory " + hfofDir != null}} is always true, which is not what is 
> intended, and that produces a wrong message.



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

Reply via email to