This is an automated email from the ASF dual-hosted git repository. nehapawar pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push: new aed8d4549c make data dir accessible from ClusterInfoAccessor (#8881) aed8d4549c is described below commit aed8d4549c2147e63e99a8642fea925f44c3b9af Author: Haitao Zhang <hai...@startree.ai> AuthorDate: Fri Jun 10 21:04:27 2022 -0700 make data dir accessible from ClusterInfoAccessor (#8881) * make data dir accessible from ClusterInfoAccessor * fix java doc --- .../pinot/controller/helix/core/minion/ClusterInfoAccessor.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/ClusterInfoAccessor.java b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/ClusterInfoAccessor.java index fa28662570..2ba65048b1 100644 --- a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/ClusterInfoAccessor.java +++ b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/ClusterInfoAccessor.java @@ -159,6 +159,15 @@ public class ClusterInfoAccessor { return _controllerConf.generateVipUrl(); } + /** + * Get the data dir. + * + * @return the data dir. + */ + public String getDataDir() { + return _controllerConf.getDataDir(); + } + /** * Get the cluster config for a given config name, return null if not found. * --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org