HDFS-9304. Add HdfsClientConfigKeys class to TestHdfsConfigFields#configurationClasses. Contributed by Mingliang Liu.
This commit is contained in:
parent
123b3db743
commit
67e3d75aed
|
@ -2135,6 +2135,9 @@ Release 2.8.0 - UNRELEASED
|
|||
HDFS-9301. HDFS clients can't construct HdfsConfiguration instances.
|
||||
(Mingliang Liu via wheat9)
|
||||
|
||||
HDFS-9304. Add HdfsClientConfigKeys class to TestHdfsConfigFields
|
||||
#configurationClasses. (Mingliang Liu via wheat9)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.util.HashSet;
|
|||
|
||||
import org.apache.hadoop.conf.TestConfigurationFieldsBase;
|
||||
import org.apache.hadoop.hdfs.DFSConfigKeys;
|
||||
import org.apache.hadoop.hdfs.client.HdfsClientConfigKeys;
|
||||
|
||||
/**
|
||||
* Unit test class to compare the following MR Configuration classes:
|
||||
|
@ -39,7 +40,8 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase {
|
|||
@Override
|
||||
public void initializeMemberVariables() {
|
||||
xmlFilename = new String("hdfs-default.xml");
|
||||
configurationClasses = new Class[] { DFSConfigKeys.class };
|
||||
configurationClasses = new Class[] { HdfsClientConfigKeys.class,
|
||||
DFSConfigKeys.class};
|
||||
|
||||
// Set error modes
|
||||
errorIfMissingConfigProps = true;
|
||||
|
|
Loading…
Reference in New Issue