Description
testTumblingTimeWindowWithKVStateMinMaxParallelism[StateBackend = FILE](org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase) Time elapsed: 0.103 sec <<< ERROR! java.lang.IllegalArgumentException: Cannot use the root directory for checkpoints. at org.apache.flink.runtime.state.filesystem.FsStateBackend.validateAndNormalizeUri(FsStateBackend.java:246) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:155) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:124) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:105) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:86) at org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase.initStateBackend(EventTimeWindowCheckpointingITCase.java:118) testTumblingTimeWindow[StateBackend = FILE](org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase) Time elapsed: 0.014 sec <<< ERROR! java.lang.IllegalArgumentException: Cannot use the root directory for checkpoints. at org.apache.flink.runtime.state.filesystem.FsStateBackend.validateAndNormalizeUri(FsStateBackend.java:246) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:155) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:124) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:105) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:86) at org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase.initStateBackend(EventTimeWindowCheckpointingITCase.java:118) testTumblingTimeWindowWithKVStateMaxMaxParallelism[StateBackend = FILE](org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase) Time elapsed: 0.011 sec <<< ERROR! java.lang.IllegalArgumentException: Cannot use the root directory for checkpoints. at org.apache.flink.runtime.state.filesystem.FsStateBackend.validateAndNormalizeUri(FsStateBackend.java:246) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:155) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:124) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:105) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:86) at org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase.initStateBackend(EventTimeWindowCheckpointingITCase.java:118) testPreAggregatedTumblingTimeWindow[StateBackend = FILE](org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase) Time elapsed: 0.005 sec <<< ERROR! java.lang.IllegalArgumentException: Cannot use the root directory for checkpoints. at org.apache.flink.runtime.state.filesystem.FsStateBackend.validateAndNormalizeUri(FsStateBackend.java:246) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:155) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:124) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:105) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:86) at org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase.initStateBackend(EventTimeWindowCheckpointingITCase.java:118) testPreAggregatedSlidingTimeWindow[StateBackend = FILE](org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalArgumentException: Cannot use the root directory for checkpoints. at org.apache.flink.runtime.state.filesystem.FsStateBackend.validateAndNormalizeUri(FsStateBackend.java:246) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:155) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:124) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:105) at org.apache.flink.runtime.state.filesystem.FsStateBackend.<init>(FsStateBackend.java:86) at org.apache.flink.test.checkpointing.EventTimeWindowCheckpointingITCase.initStateBackend(EventTimeWindowCheckpointingITCase.java:118)
This happens because the Path class does not detect Windows paths when a scheme is present.