public static HadoopSecurity getInstance() throws IOException{
    if (instance == null) {
      instance = new HadoopSecurity();
    }

    return instance;
  }
The class handles authentication when cluster is security enabled
app/com/linkedin/drelephant/security/HadoopSecurity.java