Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/2550
  
    Can we try and unify the structure / paths under which all this information 
is stored in ZooKeeper?
    
    ```
    /flink
         +/cluster_id_1/resource_manager_lock
         |            |
         |            +/job-id-1/job_manager_lock
         |            |         /checkpoints/latest
         |            |                     /latest-1
         |            |                     /latest-2
         |            |
         |            +/job-id-2/job_manager_lock
         |      
         +/cluster_id_2/resource_manager_lock
                      |
                      +/job-id-1/job_manager_lock
                               |/checkpoints/latest
                               |            /latest-1
                               |/persisted_job_graph
    ```
    The "cluster-id" should be a generated UUID in the case of YARN/Mesos, and 
should be a config value in the standalone case. In Yarn / Mesos, the UUID 
should be passed via an environment variable to the Java processes with the 
entry points for TaskManager / JobManager / ResourceManager.
    
    In the Constructor, the ZooKeeper HA Services should get the "cluster-id".


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to