HDFS-3260. TestDatanodeRegistration should set minimum DN version in addition to minimum NN version. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1325119 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f427646df
commit
4ea042666c
@ -498,6 +498,9 @@ Release 2.0.0 - UNRELEASED
|
||||
|
||||
HDFS-2696. Fix the fuse-fds build. (Bruno Mahé via eli)
|
||||
|
||||
HDFS-3260. TestDatanodeRegistration should set minimum DN version in
|
||||
addition to minimum NN version. (atm)
|
||||
|
||||
BREAKDOWN OF HDFS-1623 SUBTASKS
|
||||
|
||||
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
||||
|
@ -95,6 +95,7 @@ public class TestDatanodeRegistration {
|
||||
public void testRegistrationWithDifferentSoftwareVersions() throws Exception {
|
||||
Configuration conf = new HdfsConfiguration();
|
||||
conf.set(DFSConfigKeys.DFS_DATANODE_MIN_SUPPORTED_NAMENODE_VERSION_KEY, "3.0.0");
|
||||
conf.set(DFSConfigKeys.DFS_NAMENODE_MIN_SUPPORTED_DATANODE_VERSION_KEY, "3.0.0");
|
||||
MiniDFSCluster cluster = null;
|
||||
try {
|
||||
cluster = new MiniDFSCluster.Builder(conf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user