You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by js...@apache.org on 2019/08/22 02:17:59 UTC

[incubator-livy] branch master updated: [HOTFIX][LOG] log stack trace properly

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3b94809  [HOTFIX][LOG] log stack trace properly
3b94809 is described below

commit 3b948092ca79c964db88951d9ca31654d8b52fe5
Author: tison <wa...@gmail.com>
AuthorDate: Thu Aug 22 10:17:38 2019 +0800

    [HOTFIX][LOG] log stack trace properly
    
    ## What changes were proposed in this pull request?
    
    Log stack trace properly. With an automatic check pass this is the only instance.
    
    ## How was this patch tested?
    
    straightforward
    
    Author: tison <wa...@gmail.com>
    
    Closes #203 from TisonKun/patch-1.
---
 rsc/src/main/java/org/apache/livy/rsc/RSCClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rsc/src/main/java/org/apache/livy/rsc/RSCClient.java b/rsc/src/main/java/org/apache/livy/rsc/RSCClient.java
index 77d45c7..f2879b8 100644
--- a/rsc/src/main/java/org/apache/livy/rsc/RSCClient.java
+++ b/rsc/src/main/java/org/apache/livy/rsc/RSCClient.java
@@ -381,7 +381,7 @@ public class RSCClient implements LivyClient {
     }
 
     private void handle(ChannelHandlerContext ctx, InitializationError msg) {
-      LOG.warn("Error reported from remote driver: %s", msg.stackTrace);
+      LOG.warn("Error reported from remote driver: {}", msg.stackTrace);
     }
 
     private void handle(ChannelHandlerContext ctx, JobResult msg) {