HBASE-21619. Fix warning message caused by incorrect ternary operator evaluation
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
This commit is contained in:
parent
6de8a37b63
commit
5e1e0ca810
|
@ -330,10 +330,9 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
|
|||
|
||||
if (queue.isEmpty()) {
|
||||
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?");
|
||||
"Bulk load operation did not find any files to load in directory {}. " +
|
||||
"Does it contain files in subdirectories that correspond to column family names?",
|
||||
(hfofDir != null ? hfofDir.toUri().toString() : ""));
|
||||
return Collections.emptyMap();
|
||||
}
|
||||
pool = createExecutorService();
|
||||
|
|
Loading…
Reference in New Issue