ProgramDescription interface

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ProgramDescription interface

Flavio Pompermaier
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
Reply | Threaded
Open this post in threaded view
|

Re: ProgramDescription interface

vino yang
Hi Flavio,

Ping Chesnay and Gary for you.

Thanks, vino.

Flavio Pompermaier <[hidden email]> 于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