rkirtir commented on code in PR #3864:
URL: https://github.com/apache/hive/pull/3864#discussion_r1067808122
##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java:
##########
@@ -96,6 +100,7 @@ public class Cleaner extends MetaStoreCompactorThread {
static final private String CLASS_NAME = Cleaner.class.getName();
static final private Logger LOG = LoggerFactory.getLogger(CLASS_NAME);
private boolean metricsEnabled = false;
+ private Optional<Cache<String, TBase>> metaCache = Optional.empty();
Review Comment:
I have added
abstract Optional<Cache<String, TBase>> initializeCache(boolean
tableCacheOn); in MetastoreCompactorThread(Had to made
MetastoreCompactorThread abstract class now)
Initiator and Cleaner now implements initializeCache based on tableCacheOn
property
--
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]