AvroFileWriter avroFileWriter = new AvroFileWriter(fileMetaDataManager, logBaseDir,
logSchema,
maxLogFileSizeBytes, syncIntervalBytes,
inactiveIntervalMs);
logFileWriter = new SimpleLogFileWriter(avroFileWriter, checkpointIntervalMs);
LogCleanup logCleanup = new LogCleanup(fileMetaDataManager, logBaseDir, retentionDurationMs);
scheduledExecutor.scheduleAtFixedRate(logCleanup, 10,
logCleanupIntervalMins, TimeUnit.MINUTES);
} catch (Exception e) {