[
https://issues.apache.org/jira/browse/RATIS-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840869#comment-16840869
]
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
9s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m
0s{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} 2m
54s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m
49s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m
21s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m
43s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:red}-1{color} | {color:red} mvninstall {color} | {color:red} 0m
22s{color} | {color:red} root in the patch failed. {color} |
| {color:red}-1{color} | {color:red} compile {color} | {color:red} 0m
21s{color} | {color:red} root in the patch failed. {color} |
| {color:red}-1{color} | {color:red} javac {color} | {color:red} 0m 21s{color}
| {color:red} root in the patch failed. {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:red}-1{color} | {color:red} javadoc {color} | {color:red} 0m
32s{color} | {color:red} root generated 5 new + 100 unchanged - 0 fixed = 105
total (was 100) {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 0m 21s{color}
| {color:red} root in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m
13s{color} | {color:green} The patch does not generate ASF License warnings.
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 7m 6s{color} |
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/ratis:date2019-05-15
|
| JIRA Issue | RATIS-542 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12968843/r542_20190515b.patch |
| Optional Tests | dupname asflicense javac javadoc unit findbugs
checkstyle compile |
| uname | Linux ab4caf9896d7 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct
31 10:55:11 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 / 3419793 |
| maven | version: Apache Maven 3.6.0
(97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) |
| Default Java | 1.8.0_212 |
| mvninstall |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/artifact/out/patch-mvninstall-root.txt
|
| compile |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/artifact/out/patch-compile-root.txt
|
| javac |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/artifact/out/patch-compile-root.txt
|
| javadoc |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/artifact/out/diff-javadoc-javadoc-root.txt
|
| unit |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/artifact/out/patch-unit-root.txt
|
| Test Results |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/testReport/ |
| Max. process+thread count | 85 (vs. ulimit of 5000) |
| modules | C: ratis-server U: ratis-server |
| Console output |
https://builds.apache.org/job/PreCommit-RATIS-Build/771/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, r542_20190514.patch, r542_20190515.patch,
> r542_20190515b.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)