deniskuzZ commented on code in PR #3746:
URL: https://github.com/apache/hive/pull/3746#discussion_r1032456704


##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CompactorFactory.java:
##########
@@ -48,39 +56,54 @@ private QueryCompactorFactory() {
    * <br>
    * {@link MmMinorQueryCompactor} - handles query based minor compaction for 
micro-managed tables
    * <br>
+   * {@link MRCompactor} - handles MR based minor, major, or rebalance 
compaction
+   * <br>
+   * {@link RebalanceQueryCompactor} - handles query based rebalance compaction
+   * <br>
    * </p>
+   * @param msc The {@link IMetaStoreClient} instance is used only by the 
{@link MRCompactor}.
    * @param table the table, on which the compaction should be running, must 
be not null.
    * @param configuration the hive configuration, must be not null.
    * @param compactionInfo provides insight about the type of compaction, must 
be not null.
    * @return {@link QueryCompactor} or null.
    */
-  static QueryCompactor getQueryCompactor(Table table, HiveConf configuration, 
CompactionInfo compactionInfo)
+  public Compactor getQueryCompactor(IMetaStoreClient msc, Table table, 
HiveConf configuration, CompactionInfo compactionInfo)

Review Comment:
   please rename (getCompactor) and make `msc` the last param



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to