[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Issue Type: Bug (was: Improvement) > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170823.patch r111_20170823.patch: re-writes FileUtils to use java.nio.file.Files; > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170824.patch r111_20170824.patch: fixes a bug that deleteFully should first check if the path exists. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170824b.patch r111_20170824b.patch: adds back ExitUtils.disableSystemExit() in MiniRaftCluster constructor. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824b.patch, r111_20170824.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170824c.patch r111_20170824c.patch: reverts the changes in RaftReconfigurationBaseTest and TestRaftWithHadoopRpc. Will fix them separately. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824b.patch, r111_20170824c.patch, > r111_20170824.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170828.patch r111_20170828.patch: fixes a bug in RaftTestUtil.changeLeader so that testWithLoad does not fail anymore. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824b.patch, r111_20170824c.patch, > r111_20170824.patch, r111_20170828.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170829.patch r111_20170829.patch: some minor changes. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824b.patch, r111_20170824c.patch, > r111_20170824.patch, r111_20170828.patch, r111_20170829.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated RATIS-111: Attachment: org.apache.ratis.hadooprpc.TestRaftWithHadoopRpc-output.txt Upload the log file. Looks like in {{testWithLoad}} the log index kept increasing until 4193, thus the failure might be simply because the timeout value is too small. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.hadooprpc.TestRaftWithHadoopRpc-output.txt, > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824b.patch, r111_20170824c.patch, > r111_20170824.patch, r111_20170828.patch, r111_20170829.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170907.patch r111_20170907.patch: sync'ed with trunk. > RaftLogWorker may throw IllegalStateException > - > > Key: RATIS-111 > URL: https://issues.apache.org/jira/browse/RATIS-111 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze >Assignee: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.hadooprpc.TestRaftWithHadoopRpc-output.txt, > org.apache.ratis.server.simulation.TestNotLeaderExceptionWithSimulation-output.txt, > r111_20170823.patch, r111_20170824b.patch, r111_20170824c.patch, > r111_20170824.patch, r111_20170828.patch, r111_20170829.patch, > r111_20170907.patch > > > {code} > Exception in thread "RaftLogWorker for Storage Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B" > 2017-08-22 15:52:47,983 INFO impl.RaftServerImpl > (RaftLogWorker.java:execute(278)) - RaftLogWorker-s4 finalizing log segment > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s4/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > org.apache.ratis.util.ExitUtils$ExitException: RaftLogWorker for Storage > Directory > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B > failed. > at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:88) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:185) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.IllegalStateException: File > /Users/szetszwo/hadoop/incubator-ratis/ratis-server/target/test/data/e19600c7a0228b58/MiniRaftClusterWithSimulatedRpc/s3/group-E1192218-3981-4FC5-90BF-4CFB0D270F6B/current/log_inprogress_0 > does not exist. > at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60) > at > org.apache.ratis.server.storage.RaftLogWorker$FinalizeLogSegment.execute(RaftLogWorker.java:280) > at > org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:155) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)