All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.polimi.genomics.spark.utilities.FSConfig.scala Maven / Gradle / Ivy

The newest version!
package it.polimi.genomics.spark.utilities

import org.apache.hadoop.conf.Configuration

/**
  * Created by andreagulino on 08/11/17.
  */
object FSConfig {

  var conf : Configuration = null

  def getConf(): Configuration = {
    if( conf == null ) {
      conf = new Configuration()
    }
    conf
  }

  def setConf(c: Configuration): Unit = {
    conf = c
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy