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

[jira] [Updated] (HBASE-21619) Fix warning message caused by incorrect ternary operator evaluation

     [ https://issues.apache.org/jira/browse/HBASE-21619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Somogyi updated HBASE-21619:
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.1
                   2.1.5
                   2.0.6
                   2.3.0
                   3.0.0
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 3.0.0, 2.3.0, 2.0.6, 2.1.5, 2.2.1
>
>         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)