You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/04/30 21:49:06 UTC

[incubator-heron] branch master updated: Change log level to be severe when exception happens during submission (#3250)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b7a6318  Change log level to be severe when exception happens during submission (#3250)
b7a6318 is described below

commit b7a63189cd81991db62c2937cf6dbab0beafb5a3
Author: Ning Wang <nw...@twitter.com>
AuthorDate: Tue Apr 30 14:49:00 2019 -0700

    Change log level to be severe when exception happens during submission (#3250)
---
 .../src/java/org/apache/heron/scheduler/SubmitterMain.java              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/heron/scheduler-core/src/java/org/apache/heron/scheduler/SubmitterMain.java b/heron/scheduler-core/src/java/org/apache/heron/scheduler/SubmitterMain.java
index 6495505..d64e8a0 100644
--- a/heron/scheduler-core/src/java/org/apache/heron/scheduler/SubmitterMain.java
+++ b/heron/scheduler-core/src/java/org/apache/heron/scheduler/SubmitterMain.java
@@ -344,7 +344,7 @@ public class SubmitterMain {
     } catch (Exception e) {
       /* Since only stderr is used (by logging), we use stdout here to
          propagate error message back to Python's executor.py (invoke site). */
-      LOG.log(Level.FINE, "Exception when submitting topology", e);
+      LOG.log(Level.SEVERE, "Exception when submitting topology", e);
       System.out.println(e.getMessage());
       // Exit with status code 100 to indicate that error has happened on user-land
       // SUPPRESS CHECKSTYLE RegexpSinglelineJava