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 82f5da45e79..ec349fe9cb6 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 @@ -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();