diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/AuditTool.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/AuditTool.java index 3e10a2caf2d..9dfd698b668 100644 --- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/AuditTool.java +++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/AuditTool.java @@ -145,8 +145,7 @@ public class AuditTool extends Configured implements Tool, Closeable { if (!mergeAndParseResult) { return FAILURE; } - } - else { + } else { errorln(getUsage()); throw invalidArgs("Invalid number of arguments, please specify audit " + "log files directory as 1st argument and destination directory "