xkrogen commented on issue #1320: HDFS-14755. [Dynamometer] Hadoop-2 DataNode fail to start URL: https://github.com/apache/hadoop/pull/1320#issuecomment-523549105 Can you explain why it works? This is the code `MiniDFSCluster` uses to parse it (within `GenericTestUtils`): ``` public static File getTestDir() { String prop = System.getProperty(SYSPROP_TEST_DATA_DIR, DEFAULT_TEST_DATA_DIR); if (prop.isEmpty()) { // corner case: property is there but empty prop = DEFAULT_TEST_DATA_DIR; } File dir = new File(prop).getAbsoluteFile(); ``` (`SYSPROP_TEST_DATA_DIR` is the same as `PROP_TEST_BUILD_DATA`) I would expect `new File(prop)` to complain if you give it a comma-separated list of directories.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
