This is an automated email from the ASF dual-hosted git repository.

jlli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new ef31dca  Fix error messages (#3665)
ef31dca is described below

commit ef31dcadd1ef7aacd8406bd179636d4027967872
Author: Jialiang Li <[email protected]>
AuthorDate: Tue Jan 8 16:15:50 2019 -0800

    Fix error messages (#3665)
---
 .../java/com/linkedin/pinot/controller/helix/SegmentStatusChecker.java  | 2 +-
 .../pinot/controller/helix/core/retention/RetentionManager.java         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/SegmentStatusChecker.java
 
b/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/SegmentStatusChecker.java
index 2e3329d..6893394 100644
--- 
a/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/SegmentStatusChecker.java
+++ 
b/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/SegmentStatusChecker.java
@@ -243,7 +243,7 @@ public class SegmentStatusChecker extends 
ControllerPeriodicTask {
             nReplicasIdealMax);
       }
     } catch (Exception e) {
-      LOGGER.warn("Caught exception while updating segment status for table 
{}", e, tableNameWithType);
+      LOGGER.warn("Caught exception while updating segment status for table 
{}", tableNameWithType, e);
 
       // Remove the metric for this table
       resetTableMetrics(tableNameWithType);
diff --git 
a/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/core/retention/RetentionManager.java
 
b/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/core/retention/RetentionManager.java
index ec15f28..f177a80 100644
--- 
a/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/core/retention/RetentionManager.java
+++ 
b/pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/core/retention/RetentionManager.java
@@ -77,7 +77,7 @@ public class RetentionManager extends ControllerPeriodicTask {
       LOGGER.info("Start managing retention for table: {}", tableNameWithType);
       manageRetentionForTable(tableNameWithType);
     } catch (Exception e) {
-      LOGGER.error("Caught exception while managing retention for all tables", 
e);
+      LOGGER.error("Caught exception while managing retention for table: {}", 
tableNameWithType, e);
     }
   }
 


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

Reply via email to