Package org.apache.sqoop.core.SqoopConfiguration

Examples of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener


    // Register framework metadata in repository
    boolean autoUpgrade = SqoopConfiguration.getInstance().getContext().getBoolean(
        ConfigurationConstants.FRAMEWORK_AUTO_UPGRADE, DEFAULT_AUTO_UPGRADE);
    mFramework = RepositoryManager.getInstance().getRepository().registerFramework(mFramework, autoUpgrade);

    SqoopConfiguration.getInstance().getProvider().registerListener(new CoreConfigurationListener(this));

    LOG.info("Submission manager initialized: OK");
  }
View Full Code Here


    updateThread = new UpdateThread();
    updateThread.start();

    SqoopConfiguration.getInstance().getProvider()
      .registerListener(new CoreConfigurationListener(this));

    LOG.info("Submission manager initialized: OK");
  }
View Full Code Here

    if(!provider.getRepository().haveSuitableInternals()) {
      throw new SqoopException(RepositoryError.REPO_0002);
    }

    SqoopConfiguration.getInstance().getProvider().registerListener(new CoreConfigurationListener(this));

    LOG.info("Repository initialized: OK");
  }
View Full Code Here

  public synchronized void initialize() {
    LOG.info("Begin audit logger manager initialization");
    initializeLoggers();

    SqoopConfiguration.getInstance().getProvider()
        .registerListener(new CoreConfigurationListener(this));

    LOG.info("Audit logger manager initialized: OK");
  }
View Full Code Here

    boolean autoUpgrade = SqoopConfiguration.getInstance().getContext().getBoolean(
        ConfigurationConstants.CONNECTOR_AUTO_UPGRADE, DEFAULT_AUTO_UPGRADE);
    registerConnectors(autoUpgrade);

    SqoopConfiguration.getInstance().getProvider().registerListener(new CoreConfigurationListener(this));

    if (LOG.isInfoEnabled()) {
      LOG.info("Connectors loaded: " + handlerMap);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener

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.