flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9832) Allow commas in job submission query params
Date Thu, 12 Jul 2018 11:11:00 GMT

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

Chesnay Schepler commented on FLINK-9832:

I wanted to do this for 1.7.

To properly implement this (i.e. also adjust the WebUI to use this feature) in 1.5/1.6 we'd
also have to touch legacy handlers which IIRC still don't have access to the post body content.
Unless we introduce a legacy mode flag to the UI, but I wanted to avoid stuff like that for

> Allow commas in job submission query params
> -------------------------------------------
>                 Key: FLINK-9832
>                 URL: https://issues.apache.org/jira/browse/FLINK-9832
>             Project: Flink
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 1.5.1
>            Reporter: Ufuk Celebi
>            Priority: Minor
> As reported on the user mailing list in the thread "Run programs w/ params including
comma via REST api" [1], submitting a job with mainArgs that include a comma results in an
> To reproduce submit a job with the following mainArgs:
> {code}
> --servers,
> {code}
> The request fails with
> {code}
> Expected only one value [--servers,].
> {code}
> As a work around, users have to use a different delimiter such as {{;}}.
> The proper fix of this API would make these params part of the {{POST}} request instead
of relying on query params (as noted in FLINK-9499). I think it's still valuable to fix this
as part of a bug fix release for 1.5.
> [1] http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Run-programs-w-params-including-comma-via-REST-api-td19662.html

This message was sent by Atlassian JIRA

View raw message