public void setUp() throws Exception { // Read the testConfig.xml file readTestConfigFile(); conf = new Configuration(); conf.setBoolean(CommonConfigurationKeys.HADOOP_SECURITY_AUTHORIZATION, true); clitestDataDir = new File(TEST_CACHE_DATA_DIR). toURI().toString().replace(' ', '+'); // Many of the tests expect a replication value of 1 in the output conf.setInt("dfs.replication", 1); }
public void setUp() throws Exception { // Read the testConfig.xml file readTestConfigFile(); conf = new Configuration(); conf.setBoolean(CommonConfigurationKeys.HADOOP_SECURITY_AUTHORIZATION, true); clitestDataDir = new File(TEST_CACHE_DATA_DIR). toURI().toString().replace(' ', '+'); }
public void setUp() throws Exception { // Read the testConfig.xml file readTestConfigFile(); conf = new Configuration(); conf.setBoolean(CommonConfigurationKeys.HADOOP_SECURITY_AUTHORIZATION, true); clitestDataDir = new File(TEST_CACHE_DATA_DIR). toURI().toString().replace(' ', '+'); }