if (implKlass == null || implKlass.isEmpty()) {
implKlass = HDFSCluster.HDFSProcessManager.class.getName();
}
Class<ClusterProcessManager> klass =
(Class<ClusterProcessManager>) Class.forName(implKlass);
ClusterProcessManager clusterProcessMgr = klass.newInstance();
LOG.info("Created ClusterProcessManager as " + implKlass);
clusterProcessMgr.init(conf);
return new HDFSCluster(conf, clusterProcessMgr);
}