flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GJL <...@git.apache.org>
Subject [GitHub] flink pull request #5611: [FLINK-8769][flip6] do not print error causing exc...
Date Fri, 02 Mar 2018 15:51:03 GMT
Github user GJL commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5611#discussion_r171883413
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherRestEndpoint.java
---
    @@ -120,7 +120,12 @@ public DispatcherRestEndpoint(
     				// register extension handlers
     				handlers.addAll(webSubmissionExtension.getHandlers());
     			} catch (FlinkException e) {
    -				log.info("Failed to load web based job submission extension.", e);
    +				if (log.isDebugEnabled()) {
    +					log.debug("Failed to load web based job submission extension.", e);
    +				} else {
    +					log.info("Failed to load web based job submission extension. " +
    --- End diff --
    
    It still sounds like an error. Maybe `Web based job submission is disabled. Probable reason:
[...]`


---

Mime
View raw message