You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Flavio Pompermaier <po...@okkam.it> on 2018/10/19 15:01:25 UTC
ProgramDescription interface
Hi to all,
is there any better way to get the list of required parameters by a Flink
job other than implementing ProgramDescription interface and implementing a
long (and somehow structured) getDescription() method?
Wouldn't be better to add a List<Option> getJobOptions to such interface in
order to allow a more *expressive** response of the /jars REST service?
Moreover, in the documentation I see only /jars as service to get the list
of available jobs...wouldn't be nice to add also a GET /jars/:jarId to the
REST services (and return the available main classes in that jar with the
available parameters as proposed)?
*containing a detailed list of the available job arguments (and their
type/default value/help)
Best,
Flavio
Re: ProgramDescription interface
Posted by vino yang <ya...@gmail.com>.
Hi Flavio,
Ping Chesnay and Gary for you.
Thanks, vino.
Flavio Pompermaier <po...@okkam.it> 于2018年10月19日周五 下午11:01写道:
> Hi to all,
> is there any better way to get the list of required parameters by a Flink
> job other than implementing ProgramDescription interface and implementing a
> long (and somehow structured) getDescription() method?
> Wouldn't be better to add a List<Option> getJobOptions to such interface
> in order to allow a more *expressive** response of the /jars REST service?
> Moreover, in the documentation I see only /jars as service to get the list
> of available jobs...wouldn't be nice to add also a GET /jars/:jarId to the
> REST services (and return the available main classes in that jar with the
> available parameters as proposed)?
>
> *containing a detailed list of the available job arguments (and their
> type/default value/help)
>
> Best,
> Flavio
>