Browse Source

fix comment error (#1446)

DK.Pino 5 years ago
parent
commit
9a3a6f5a3d

+ 1 - 1
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerThread.java

@@ -101,7 +101,7 @@ public class MasterSchedulerThread implements Runnable {
                 if(OSUtils.checkResource(masterConfig.getMasterMaxCpuloadAvg(), masterConfig.getMasterReservedMemory())){
                     if (zkMasterClient.getZkClient().getState() == CuratorFrameworkState.STARTED) {
 
-                        // create distributed lock with the root node path of the lock space as /dolphinscheduler/lock/failover/master
+                        // create distributed lock with the root node path of the lock space as /dolphinscheduler/lock/masters
                         String znodeLock = zkMasterClient.getMasterLockPath();
 
                         mutex = new InterProcessMutex(zkMasterClient.getZkClient(), znodeLock);