Merge pull request #1699 from lgcareer/dev-taskqueue
get root path from zookeeper config
This commit is contained in:
commit
0a3954107e
|
|
@ -363,7 +363,7 @@ public class TaskQueueZkImpl implements ITaskQueue {
|
|||
* @return
|
||||
*/
|
||||
public String getTasksPath(String key){
|
||||
return "/dolphinscheduler" + Constants.SINGLE_SLASH + key;
|
||||
return zookeeperOperator.getZookeeperConfig().getDsRoot() + Constants.SINGLE_SLASH + key;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue