[
https://issues.apache.org/jira/browse/FLINK-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017139#comment-16017139
]
ASF GitHub Bot commented on FLINK-6495:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/3935#discussion_r117441984
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/query/QueryableStateClient.java
---
@@ -114,13 +114,11 @@ public QueryableStateClient(
LeaderRetrievalService leaderRetrievalService =
highAvailabilityServices.getJobManagerLeaderRetriever(HighAvailabilityServices.DEFAULT_JOB_ID);
// Get the ask timeout
- String askTimeoutString = config.getString(
- ConfigConstants.AKKA_ASK_TIMEOUT,
- ConfigConstants.DEFAULT_AKKA_ASK_TIMEOUT);
+ String askTimeoutString =
config.getString(AkkaOptions.AKKA_ASK_TIMEOUT);
Duration timeout = FiniteDuration.apply(askTimeoutString);
if (!timeout.isFinite()) {
- throw new
IllegalConfigurationException(ConfigConstants.AKKA_ASK_TIMEOUT
+ throw new
IllegalConfigurationException(AkkaOptions.AKKA_ASK_TIMEOUT
--- End diff --
replace with key
> Migrate Akka configuration options
> ----------------------------------
>
> Key: FLINK-6495
> URL: https://issues.apache.org/jira/browse/FLINK-6495
> Project: Flink
> Issue Type: Sub-task
> Components: Distributed Coordination, Network
> Reporter: Chesnay Schepler
> Assignee: Fang Yong
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)