|
@@ -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)
|