HDFS-891. DataNode no longer needs to check for dfs.network.script. Contributed by Harsh J
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1327762 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc052d2a4a
commit
0c16ec4d6e
@ -535,6 +535,9 @@ Release 2.0.0 - UNRELEASED
|
|||||||
HDFS-3165. HDFS Balancer scripts are refering to wrong path of
|
HDFS-3165. HDFS Balancer scripts are refering to wrong path of
|
||||||
hadoop-daemon.sh (Amith D K via eli)
|
hadoop-daemon.sh (Amith D K via eli)
|
||||||
|
|
||||||
|
HDFS-891. DataNode no longer needs to check for dfs.network.script.
|
||||||
|
(harsh via eli)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-1623 SUBTASKS
|
BREAKDOWN OF HDFS-1623 SUBTASKS
|
||||||
|
|
||||||
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
||||||
|
@ -1513,11 +1513,6 @@ public static DataNode instantiateDataNode(String args [], Configuration conf,
|
|||||||
printUsage();
|
printUsage();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (conf.get("dfs.network.script") != null) {
|
|
||||||
LOG.error("This configuration for rack identification is not supported" +
|
|
||||||
" anymore. RackID resolution is handled by the NameNode.");
|
|
||||||
System.exit(-1);
|
|
||||||
}
|
|
||||||
Collection<URI> dataDirs = getStorageDirs(conf);
|
Collection<URI> dataDirs = getStorageDirs(conf);
|
||||||
UserGroupInformation.setConfiguration(conf);
|
UserGroupInformation.setConfiguration(conf);
|
||||||
SecurityUtil.login(conf, DFS_DATANODE_KEYTAB_FILE_KEY,
|
SecurityUtil.login(conf, DFS_DATANODE_KEYTAB_FILE_KEY,
|
||||||
|
Loading…
Reference in New Issue
Block a user