Beispiel #1
0
 private void init() {
   if (connectionProperties == null) {
     configHolder = HadoopConfigHolder.getInstance(dataSource);
   } else {
     configHolder = HadoopConfigHolder.getInstance(dataSource, connectionProperties);
   }
 }
 private void init() {
   if (connectionProperties == null) {
     configHolder = HadoopConfigHolder.getInstance(serviceName);
   } else {
     configHolder =
         HadoopConfigHolder.getInstance(serviceName, connectionProperties, defaultConfigFile);
   }
 }