[ 
https://issues.apache.org/jira/browse/FLINK-34580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gyula Fora reassigned FLINK-34580:
----------------------------------

    Assignee: Ferenc Csaky

> Job run via REST erases "pipeline.classpaths" config
> ----------------------------------------------------
>
>                 Key: FLINK-34580
>                 URL: https://issues.apache.org/jira/browse/FLINK-34580
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / REST
>    Affects Versions: 1.17.2, 1.19.0, 1.18.1
>            Reporter: Ferenc Csaky
>            Assignee: Ferenc Csaky
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>
> The 
> [{{JarHandlerContext#applyToConfiguration}}|https://github.com/apache/flink/blob/e0b6c121eaf7aeb2974a45d199e452b022f07d29/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/utils/JarHandlerUtils.java#L134]
>  creates a {{PackagedProgram}} and then overwrites the {{pipeline.jars}} and 
> {{pipeline.classpaths}} values according to that newly created 
> {{{}PackagedProgram{}}}.
> Although that [{{PackagedProgram}} 
> init|https://github.com/apache/flink/blob/e0b6c121eaf7aeb2974a45d199e452b022f07d29/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/utils/JarHandlerUtils.java#L185]
>  does not set {{classpaths}} at all, so it will always overwrites the 
> effective configuration with an empty value, even if it had something 
> previously.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to