[
https://issues.apache.org/jira/browse/RATIS-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838916#comment-16838916
]
Hadoop QA commented on RATIS-542:
---------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m
11s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m
1s{color} | {color:blue} Findbugs executables are not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m
0s{color} | {color:red} The patch doesn't appear to include any new or modified
tests. Please justify why no new tests are needed for this patch. Also please
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 3m
1s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m
50s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m
19s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m
40s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m
55s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m
48s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m
48s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m
10s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m
0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m
32s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 17m 13s{color}
| {color:red} root in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m
17s{color} | {color:green} The patch does not generate ASF License warnings.
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 25m 9s{color} |
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | ratis.logservice.TestLogServiceWithGrpc |
| | ratis.logservice.TestLogServiceWithNetty |
| | ratis.examples.filestore.TestFileStoreWithNetty |
| | ratis.TestMultiRaftGroup |
| | ratis.examples.arithmetic.TestArithmetic |
| | ratis.server.storage.TestSegmentedRaftLog |
| | ratis.server.simulation.TestLeaderElectionWithSimulatedRpc |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/ratis:date2019-05-13
|
| JIRA Issue | RATIS-542 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12968607/r542_20190513.patch |
| Optional Tests | dupname asflicense javac javadoc unit findbugs
checkstyle compile |
| uname | Linux cc951f78cada 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2
17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality |
/home/jenkins/jenkins-slave/workspace/PreCommit-RATIS-Build/yetus-personality.sh
|
| git revision | master / c7b35c3 |
| maven | version: Apache Maven 3.6.0
(97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) |
| Default Java | 1.8.0_191 |
| unit |
https://builds.apache.org/job/PreCommit-RATIS-Build/762/artifact/out/patch-unit-root.txt
|
| Test Results |
https://builds.apache.org/job/PreCommit-RATIS-Build/762/testReport/ |
| Max. process+thread count | 3049 (vs. ulimit of 5000) |
| modules | C: ratis-server U: ratis-server |
| Console output |
https://builds.apache.org/job/PreCommit-RATIS-Build/762/console |
| Powered by | Apache Yetus 0.8.0 http://yetus.apache.org |
This message was automatically generated.
> IllegalStateException on RaftServer restart
> -------------------------------------------
>
> Key: RATIS-542
> URL: https://issues.apache.org/jira/browse/RATIS-542
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: Lokesh Jain
> Assignee: Tsz Wo Nicholas Sze
> Priority: Major
> Attachments: r542_20190509.patch, r542_20190510.patch,
> r542_20190513.patch
>
>
> IllegalStateException stating "Unexpected gap in segments: binarySearch(-1)
> returns -1, segments=[log-0_0]" when ozone datanode is restarted.
> {code:java}
> 2019-05-05 06:26:47,217 INFO org.apache.ratis.server.impl.RaftServerProxy:
> bf6fd9c4-100a-4035-98db-abe8e0a25fb9: remove LEADER group-AC345A757F02
> bf6fd9c4-100a-4035-98db-abe8e0a25fb9:t2,
> leader=bf6fd9c4-100a-4035-98db-abe8e0a25fb9,
> voted=bf6fd9c4-100a-4035-98db-abe8e0a25fb9,
> raftlog=bf6fd9c4-100a-4035-98db-abe8e0a25fb9-SegmentedRaftLog:OPENED:c2,f2,i2,
> conf=1: [bf6fd9c4-100a-4035-98db-abe8e0a25fb9:172.27.76.77:9858], old=null
> RUNNING
> 2019-05-05 06:26:47,230 INFO org.apache.ratis.server.impl.RaftServerImpl:
> bf6fd9c4-100a-4035-98db-abe8e0a25fb9: shutdown group-AC345A757F02
> 2019-05-05 06:26:47,230 INFO org.apache.ratis.util.JmxRegister: Successfully
> un-registered JMX Bean with object name
> Ratis:service=RaftServer,group=group-AC345A757F02,id=bf6fd9c4-100a-4035-98db-abe8e0a25fb9
> 2019-05-05 06:26:47,231 INFO org.apache.ratis.server.impl.RoleInfo:
> bf6fd9c4-100a-4035-98db-abe8e0a25fb9: shutdown LeaderState
> 2019-05-05 06:26:47,231 INFO org.apache.ratis.server.impl.PendingRequests:
> bf6fd9c4-100a-4035-98db-abe8e0a25fb9-PendingRequests: sendNotLeaderResponses
> 2019-05-05 06:26:47,236 INFO
> org.apache.ratis.server.impl.StateMachineUpdater:
> StateMachineUpdater-bf6fd9c4-100a-4035-98db-abe8e0a25fb9-group-AC345A757F02:
> set stopIndex = 2
> 2019-05-05 06:26:47,239 ERROR
> org.apache.ratis.server.impl.StateMachineUpdater: Terminating with exit
> status 2:
> StateMachineUpdater-bf6fd9c4-100a-4035-98db-abe8e0a25fb9-group-AC345A757F02:
> the StateMachineUpdater hits Throwable
> java.lang.IllegalStateException: Unexpected gap in segments: binarySearch(-1)
> returns -1, segments=[log-0_0]
> at
> org.apache.ratis.server.storage.RaftLogCache$LogSegmentList.purge(RaftLogCache.java:259)
> at org.apache.ratis.server.storage.RaftLogCache.purge(RaftLogCache.java:461)
> at
> org.apache.ratis.server.storage.SegmentedRaftLog.purgeImpl(SegmentedRaftLog.java:273)
> at org.apache.ratis.server.storage.RaftLog.purge(RaftLog.java:325)
> at
> org.apache.ratis.server.impl.StateMachineUpdater.run(StateMachineUpdater.java:187)
> at java.lang.Thread.run(Thread.java:748)
> 2019-05-05 06:26:47,249 WARN org.apache.hadoop.fs.CachingGetSpaceUsed: Thread
> Interrupted waiting to refresh disk information: sleep interrupted
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)