Package co.cask.cdap.logging.save

Examples of co.cask.cdap.logging.save.LogSaverTableUtil


    String baseDir = cConf.get(LoggingConfiguration.LOG_BASE_DIR);
    Preconditions.checkNotNull(baseDir, "Log base dir cannot be null");

    try {
      this.schema = new LogSchema().getAvroSchema();
      this.fileMetaDataManager = new FileMetaDataManager(new LogSaverTableUtil(dsFramework, cConf),
                                                         txClient, locationFactory);

    } catch (Exception e) {
      LOG.error("Got exception", e);
      throw Throwables.propagate(e);
View Full Code Here


                         DatasetFramework dsFramework,
                         TransactionSystemClient txClient,
                         LocationFactory locationFactory) {
    setName(APPENDER_NAME);

    this.tableUtil = new LogSaverTableUtil(dsFramework, cConfig);
    this.txClient = txClient;
    this.locationFactory = locationFactory;

    String baseDir = cConfig.get(LoggingConfiguration.LOG_BASE_DIR);
    Preconditions.checkNotNull(baseDir, "Log base dir cannot be null");
View Full Code Here

      this.partitioner = new StringPartitioner(numPartitions);

      this.serializer = new LoggingEventSerializer();

      this.fileMetaDataManager =
        new FileMetaDataManager(new LogSaverTableUtil(dsFramework, cConfig), txClient, locationFactory);

      this.schema = new LogSchema().getAvroSchema();
    } catch (Exception e) {
      throw Throwables.propagate(e);
    }
View Full Code Here

TOP

Related Classes of co.cask.cdap.logging.save.LogSaverTableUtil

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.