HDFS-16361. Fix log format for QueryCommand (#3732). Contributed by tomscut.

This commit is contained in:
litao 2021-12-01 15:18:21 +08:00 committed by GitHub
parent 7b840f2693
commit 1ebdac2cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ public void execute(CommandLine cmd) throws Exception {
System.out.printf("%s", workStatus.currentStateString()); System.out.printf("%s", workStatus.currentStateString());
} }
} catch (DiskBalancerException ex) { } catch (DiskBalancerException ex) {
LOG.error("Query plan failed. ex: {}", ex); LOG.error("Query plan failed.", ex);
throw ex; throw ex;
} }
} }