flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl0u <...@git.apache.org>
Subject [GitHub] flink pull request #5420: [FLINK-8576][QS] Reduce verbosity when classes can...
Date Wed, 14 Feb 2018 10:45:14 GMT
Github user kl0u commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5420#discussion_r168137274
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/query/QueryableStateUtils.java
---
    @@ -132,9 +134,7 @@ public static KvStateServer createKvStateServer(
     					KvStateRequestStats.class);
     			return constructor.newInstance(address, ports, eventLoopThreads, queryThreads, kvStateRegistry,
stats);
     		} catch (ClassNotFoundException e) {
    -			final String msg = "Could not load Queryable State Server. " +
    -				"Probable reason: flink-queryable-state-runtime is not in the classpath. " +
    -				"Please put the corresponding jar from the opt to the lib folder.";
    +			final String msg = "Could not load Queryable State Server. " + ERROR_MESSAGE_ON_LOAD_FAILURE;
     			if (LOG.isDebugEnabled()) {
     				LOG.debug(msg, e);
    --- End diff --
    
    The `debug` message should change as well as above, right?


---

Mime
View raw message