Chesnay Schepler created FLINK-5165: ---------------------------------------
Summary: Checkpointing tests using FsStatebackend fail on Windows Key: FLINK-5165 URL: https://issues.apache.org/jira/browse/FLINK-5165 Project: Flink Issue Type: Bug Components: Tests Affects Versions: 1.1.3 Reporter: Chesnay Schepler Assignee: Chesnay Schepler Fix For: 1.2.0 {code} 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) {code} This happens because the Path class does not detect Windows paths when a scheme is present. -- This message was sent by Atlassian JIRA (v6.3.4#6332)