Details
Description
org.apache.hadoop.security.UserGroupInformation#ensureInitialized,will always get the configure from the configuration files.So that, -D args will not take effect.
private static void ensureInitialized() { if (conf == null) { synchronized(UserGroupInformation.class) { if (conf == null) { // someone might have beat us initialize(new Configuration(), false); } } } }