code: public static synchronized void init(Configuration conf) {
      if (!initDone) {
        DefaultConfiguration.conf = conf;
        DefaultConfiguration.initDone = true;
      }
    }
docs: Initialize the default Hadoop {@link Configuration} if it has not been set.