Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21594

Flink - {"errors":["Service temporarily unavailable due to an ongoing leader election. Please refresh."]}

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.12.0
    • 1.12.0
    • None
    • debian kubernetes

    Description

      Hi Team,

      I deployed standalone Flink session cluster on kubernetes.. i have created the HA with 3 job managers. But Flink Web UI is throwing an error saying

      "{"errors":["Service temporarily unavailable due to an ongoing leader election. Please refresh."]}".

      Please help to fix the issue with UI and HA.

      Logs are showing with the Leader election and updated to the all configmaps..

      below configmaps are created in the same namespace where flink cluster is running.

      111-dispatcher-leader 
      111-resourcemanager-leader 
      111-restserver-leader

      but i have one doubt on configmap created, when i described above configmaps showing type as flink-native-kubernetes.. But i created cluster with flink standalone kubernetes.

       configmap-type: high-availability
      type: flink-native-kubernetes 

       

      2) Let me know how to confirm the whether flink is running on native kubernetes or standalone kubernetes.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bhagi__R Bhagi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment