Package org.apache.accumulo.server.watcher

Examples of org.apache.accumulo.server.watcher.MonitorLog4jWatcher.start()


    DOMConfigurator.configureAndWatch(auditConfig, 5000);

    // Configure logging using information advertised in zookeeper by the monitor
    MonitorLog4jWatcher logConfigWatcher = new MonitorLog4jWatcher(config.getInstance().getInstanceID(), logConfig);
    logConfigWatcher.setDelay(5000L);
    logConfigWatcher.start();

    log.info(application + " starting");
    log.info("Instance " + config.getInstance().getInstanceID());
    int dataVersion = Accumulo.getAccumuloPersistentVersion(fs);
    log.info("Data Version " + dataVersion);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.