Package org.apache.hadoop.chukwa.extraction.engine.datasource.database

Examples of org.apache.hadoop.chukwa.extraction.engine.datasource.database.DatabaseDS


  private HashMap<String, DataSource> dataSources = new HashMap<String, DataSource>();

  private DataSourceFactory() {
    // TODO load from config Name + class + threadSafe?

    DataSource databaseDS = new DatabaseDS();
    dataSources.put("MRJob", databaseDS);
    dataSources.put("HodJob", databaseDS);
    dataSources.put("QueueInfo", databaseDS);

  }
View Full Code Here


 
  private DataSourceFactory()
  {
    // TODO load from config Name + class + threadSafe?
   
    DataSource databaseDS = new DatabaseDS();
    dataSources.put("MRJob", databaseDS);
    dataSources.put("HodJob", databaseDS);
    dataSources.put("QueueInfo", databaseDS);
   
    DataSource recordDS = new RecordDS();
View Full Code Here

TOP

Related Classes of org.apache.hadoop.chukwa.extraction.engine.datasource.database.DatabaseDS

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.