Package co.cask.cdap.logging.write

Examples of co.cask.cdap.logging.write.AvroFileWriter$AvroFile


      logSchema = new LogSchema().getAvroSchema();
      FileMetaDataManager fileMetaDataManager = new FileMetaDataManager(tableUtil,
                                                                        txClient,
                                                                        locationFactory);

      AvroFileWriter avroFileWriter = new AvroFileWriter(fileMetaDataManager, logBaseDir,
                                                         logSchema,
                                                         maxLogFileSizeBytes, syncIntervalBytes,
                                                         inactiveIntervalMs);
      logFileWriter = new SimpleLogFileWriter(avroFileWriter, checkpointIntervalMs);
View Full Code Here


    logCleanupIntervalMins = cConfig.getInt(LoggingConfiguration.LOG_CLEANUP_RUN_INTERVAL_MINS,
                                            LoggingConfiguration.DEFAULT_LOG_CLEANUP_RUN_INTERVAL_MINS);
    Preconditions.checkArgument(logCleanupIntervalMins > 0,
                                "Log cleanup run interval is invalid: %s", logCleanupIntervalMins);

    AvroFileWriter avroFileWriter = new AvroFileWriter(fileMetaDataManager,
                                                       logBaseDir,
                                                       serializer.getAvroSchema(),
                                                       maxLogFileSizeBytes, syncIntervalBytes,
                                                       inactiveIntervalMs);
View Full Code Here

TOP

Related Classes of co.cask.cdap.logging.write.AvroFileWriter$AvroFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.