You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/06/29 04:39:05 UTC

[GitHub] [incubator-pinot] mayankshriv commented on a change in pull request #7101: Add `PinotHelixResourceManager` to `TableConfigTuner.init()` method.

mayankshriv commented on a change in pull request #7101:
URL: https://github.com/apache/incubator-pinot/pull/7101#discussion_r660274576



##########
File path: pinot-controller/src/main/java/org/apache/pinot/controller/tuner/TableConfigTuner.java
##########
@@ -27,11 +29,18 @@
  * Interface for Table Config Tuner.
  */
 public interface TableConfigTuner {
+  /**
+   *
+   */
   /**
    * Used to initialize underlying implementation with Schema
    * and custom properties (eg: metrics end point)
+   *
+   * @param pinotHelixResourceManager Pinot Helix Resource Manager to access Helix resources
+   * @param tunerConfig Tuner configurations
+   * @param schema Table schema
    */
-  void init(TunerConfig props, Schema schema);
+  void init(@Nullable PinotHelixResourceManager pinotHelixResourceManager, TunerConfig tunerConfig, Schema schema);

Review comment:
       No, not for the tests, the existing implementation of `RealTimeAutoIndexTuner` does not use it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org