Merge pull request #1699 from lgcareer/dev-taskqueue

get root path from zookeeper config
This commit is contained in:
Tboy 2020-01-03 19:30:51 +08:00 committed by GitHub
commit 0a3954107e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}