Ferenc Csaky created FLINK-34580:
------------------------------------

             Summary: 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.18.1, 1.17.2, 1.19.0
            Reporter: Ferenc Csaky
             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