[ 
https://issues.apache.org/jira/browse/HDFS-16361?focusedWorklogId=687285&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687285
 ]

ASF GitHub Bot logged work on HDFS-16361:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Nov/21 12:16
            Start Date: 29/Nov/21 12:16
    Worklog Time Spent: 10m 
      Work Description: tomscut commented on a change in pull request #3732:
URL: https://github.com/apache/hadoop/pull/3732#discussion_r758306918



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/command/QueryCommand.java
##########
@@ -84,7 +84,7 @@ public void execute(CommandLine cmd) throws Exception {
         System.out.printf("%s", workStatus.currentStateString());
       }
     } catch (DiskBalancerException ex) {
-      LOG.error("Query plan failed. ex: {}", ex);
+      LOG.error("Query plan failed. ex: {}", ex.getMessage());

Review comment:
       Thanks @virajjasani for your comments. I checked several other places, 
all specifying `message:{}`. So I'll just change this one.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 687285)
    Time Spent: 1h  (was: 50m)

> Fix log format for QueryCommand
> -------------------------------
>
>                 Key: HDFS-16361
>                 URL: https://issues.apache.org/jira/browse/HDFS-16361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: tomscut
>            Assignee: tomscut
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Fix log format for QueryCommand of disk balancer.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to