flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lamber-ken (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-12246) can't get any option from the jobConfiguration of JobGraph
Date Thu, 18 Apr 2019 09:20:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-12246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820882#comment-16820882
] 

lamber-ken commented on FLINK-12246:
------------------------------------

[~fan_li_ya], thanks for concern about this issue. I think it's better to define +jobConfiguration+
as a private variable and init it through `set` method.

and because of this problem, it affetc get +MAX_ATTEMPTS_HISTORY_SIZE+ option, it always return
default value.

[option MAX_ATTEMPTS_HISTORY_SIZE |https://github.com/apache/flink/blob/92ae67d788050f2e2d457692bc0c638bc142a265/flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionJobVertex.java#L218]

 

> can't get any option from the jobConfiguration of JobGraph
> ----------------------------------------------------------
>
>                 Key: FLINK-12246
>                 URL: https://issues.apache.org/jira/browse/FLINK-12246
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Configuration
>    Affects Versions: 1.6.3
>            Reporter: lamber-ken
>            Assignee: lamber-ken
>            Priority: Major
>             Fix For: 1.9.0
>
>
> the jobConfiguration was defined as a final variable. 
> {code:java}
> /** The job configuration attached to this job. */
> private final Configuration jobConfiguration = new Configuration();
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message