Junrui,

Thanks for your answer for the above questions.

Allison and I work together on Flink. One of the main questions is, is
there an easy way to get the Flink "JobID" from the Flink client side?
Without the "JobID", users have no way to access Flink HistoryServer
other than searching through the list of applications in FlinkHistoryServer
UI. Btw, in this case we are running Flink in batch execution mode.

Regards
Venkat


On Wed, Mar 13, 2024 at 7:58 PM Junrui Lee <jrlee....@gmail.com> wrote:

> Hi Allison,
>
> The PIPELINE_FIXED_JOB_ID configuration option is not intended for public
> use. IIUC, the only way to manually specify the jobId is submitting a job
> through the JAR RUN REST API, where you can provide the jobId in the
> request body (
> https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/#jars-jarid-run
> <https://urldefense.com/v3/__https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/*jars-jarid-run__;Iw!!IKRxdwAv5BmarQ!do5GHfQPWDwTL1BcBk_Y1pMkZvfSHYRldgXzKOpIF1aRWER97Clb1yh7CQaiUbai4ZXDM_edEFOPqZc4o8N5zw$>
> ).
>
> Best,
> Junrui
>
> Allison Chang via user <user@flink.apache.org> 于2024年3月14日周四 08:16写道:
>
>> Hi,
>>
>> I was wondering if there is any way to manually set the jobID for the
>> jobGraph. I noticed that there is a configuration for
>> PIPELINE_FIXED_JOB_ID, but there doesn't seem to be a way to set it via
>> config with the StreamingJobGraphGenerator.java. Would appreciate any
>> assistance if anyone has done something similar.
>>
>> Best,
>>
>> *Allison Chang*
>>
>>
>>

Reply via email to