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

Bhagi commented on FLINK-21432:
-------------------------------

Yang Wang Thanks alotr for the support and giving accurate information. I added 
to env  '_POD_IP_ADDRESS'  in jobmanager deployment. but that env 
'_POD_IP_ADDRESS' = *MY_POD_IP* is not able to get the value in the *cat 
/opt/flink/conf/flink-conf.yaml*  for jobmanager.rpc.address..

 
kubectl exec -it flink-jobmanager-dcf68546d-gzzqg -n pg-cron-12-ver bash
 flink@flink-jobmanager-dcf68546d-gzzqg:~$ *cat 
/opt/flink/conf/flink-conf.yaml* --> *this file configuration i pushed through 
configmp*
 taskmanager.numberOfTaskSlots: 2
 jobmanager.rpc.address: *${MY_POD_IP}*
 blob.server.port: 6124
 jobmanager.rpc.port: 6123
#####################
!image-2021-03-05-19-03-56-809.png!

> Web UI -- Error - {"errors":["Service temporarily unavailable due to an 
> ongoing leader election. Please refresh."]}
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-21432
>                 URL: https://issues.apache.org/jira/browse/FLINK-21432
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.12.0
>         Environment: debian
>            Reporter: Bhagi
>            Priority: Critical
>             Fix For: 1.12.0
>
>         Attachments: image-2021-02-22-10-39-06-180.png, 
> image-2021-02-23-23-12-03-118.png, image-2021-02-23-23-14-13-708.png, 
> image-2021-02-23-23-27-38-247.png, image-2021-03-04-14-14-14-471.png, 
> image-2021-03-04-15-20-17-475.png, image-2021-03-05-19-03-56-809.png
>
>
> Web UI – throwing this Error 
> {"errors":["Service temporarily unavailable due to an ongoing leader 
> election. Please refresh."]}
> Please find Job Manager logs.
>  
> !image-2021-02-22-10-39-06-180.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to