veghlaci05 commented on code in PR #3513:
URL: https://github.com/apache/hive/pull/3513#discussion_r951228152


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java:
##########
@@ -202,16 +202,18 @@ public Set<CompactionInfo> findPotentialCompactions(int 
abortedThreshold,
    * This will grab the next compaction request off of
    * the queue, and assign it to the worker.
    * @param workerId id of the worker calling this, will be recorded in the db
+   * @param poolName id of the worker calling this, will be recorded in the db
    * @deprecated  Replaced by
    *     {@link 
CompactionTxnHandler#findNextToCompact(org.apache.hadoop.hive.metastore.api.FindNextCompactRequest)}
    * @return an info element for next compaction in the queue, or null if 
there is no work to do now.
    */
   @Deprecated

Review Comment:
   It's kept for backward compatibility reasons. 
   `public CompactionInfo findNextToCompact(FindNextCompactRequest rqst) throws 
MetaException`
   should be used instead. 



-- 
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