|
|
|
@ -205,7 +205,7 @@ public class HDFSRepositoryFactory extends ConfigRepositoryFactory<HDFSConfig> {
|
|
|
|
|
|
|
|
|
|
private void reset() throws Exception { |
|
|
|
|
refreshConfig(); |
|
|
|
|
resetDeFaultRealm(); |
|
|
|
|
resetDefaultRealm(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -244,7 +244,7 @@ public class HDFSRepositoryFactory extends ConfigRepositoryFactory<HDFSConfig> {
|
|
|
|
|
* |
|
|
|
|
* @throws Exception |
|
|
|
|
*/ |
|
|
|
|
private void resetDeFaultRealm() throws Exception { |
|
|
|
|
private void resetDefaultRealm() throws Exception { |
|
|
|
|
|
|
|
|
|
Field field = KerberosName.class.getDeclaredField("defaultRealm"); |
|
|
|
|
assert field != null; |
|
|
|
|