You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/03/25 19:23:39 UTC
[hbase] branch branch-2.1 updated: HBASE-21619. Fix warning message
caused by incorrect ternary operator evaluation
This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 13f1784 HBASE-21619. Fix warning message caused by incorrect ternary operator evaluation
13f1784 is described below
commit 13f17848b86ce8ea40396ccb99b1bc329d3296ad
Author: Wei-Chiu Chuang <we...@cloudera.com>
AuthorDate: Mon Mar 25 19:58:12 2019 +0100
HBASE-21619. Fix warning message caused by incorrect ternary operator evaluation
Signed-off-by: Peter Somogyi <ps...@apache.org>
---
.../java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
index 3320b1f..4f0b132 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
@@ -332,10 +332,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();