FileMetaDataManager fileMetaDataManager = new FileMetaDataManager(tableUtil, txExecutorFactory,
rootLocationFactory, namespacedLocationFactory,
cConf, impersonator);
AvroFileWriter avroFileWriter = new AvroFileWriter(fileMetaDataManager, namespacedLocationFactory, logBaseDir,
logSchema, maxLogFileSizeBytes, syncIntervalBytes,
<BUG>inactiveIntervalMs, impersonator);
logFileWriter = new SimpleLogFileWriter(avroFileWriter, checkpointIntervalMs);</BUG>
LogCleanup logCleanup = new LogCleanup(fileMetaDataManager, rootLocationFactory, retentionDurationMs,
impersonator);
scheduledExecutor.scheduleAtFixedRate(logCleanup, 10,

FileMetaDataManager fileMetaDataManager = new FileMetaDataManager(tableUtil, txExecutorFactory,
rootLocationFactory, namespacedLocationFactory,
cConf, impersonator);
AvroFileWriter avroFileWriter = new AvroFileWriter(fileMetaDataManager, namespacedLocationFactory, logBaseDir,
logSchema, maxLogFileSizeBytes, syncIntervalBytes,
maxFileLifetimeMs, impersonator);
logFileWriter = new SimpleLogFileWriter(avroFileWriter, checkpointIntervalMs);
LogCleanup logCleanup = new LogCleanup(fileMetaDataManager, rootLocationFactory, retentionDurationMs,
impersonator);
scheduledExecutor.scheduleAtFixedRate(logCleanup, 10,
