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

Residual zk data when using the kubernetes session mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

          If we use kubernetes session mode and use Zookeeper(ZK) as the HA service, the HA data on ZK is not cleared after the session stops.

          Because  when deleting a session, only call this method:

      kubernetesClusterDescriptor.killCluster(clusterId);
      

          However, this method only deletes the deployment associated with the clusterId. If ZK is used as the HA service, data on ZK will be left over when the HA stops, resulting in more and more data on zk.

       

      Maybe we need to add

      ClusterClient#shutDownCluster()

      or

      HighAvailabilityServices#closeAndCleanupAllData()

      When using session mode (native kubernetes)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              spoon-lz liuzhuo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: