Details
Description
Found some unit tests ran failed in Windows, similar to HDFS-11831. Actually, these are some places missing being updated in HDFS-11831.
One error stack info:
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/work-project/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test-classes/org/apache/hadoop/ozone/container/common/TestDatanodeStateMachine\TestDatanodeStateMachine.id at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) at java.nio.file.Paths.get(Paths.java:84) at org.apache.hadoop.ozone.container.common.TestDatanodeStateMachine.setUp(TestDatanodeStateMachine.java:108)