Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-22539 WAL corruption due to early DBBs re-use when Durability.A… #437

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

Apache9
Copy link
Contributor

@Apache9 Apache9 commented Aug 1, 2019

…SYNC_WAL is used

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 43 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 4 new or modified test files.
_ master Compile Tests _
+1 mvninstall 297 master passed
+1 compile 51 master passed
+1 checkstyle 72 master passed
+1 shadedjars 266 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 35 master passed
0 spotbugs 240 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 237 master passed
_ Patch Compile Tests _
+1 mvninstall 296 the patch passed
+1 compile 57 the patch passed
+1 javac 57 the patch passed
-1 checkstyle 73 hbase-server: The patch generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 258 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 881 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 36 the patch passed
+1 findbugs 253 the patch passed
_ Other Tests _
-1 unit 8447 hbase-server in the patch failed.
+1 asflicense 23 The patch does not generate ASF License warnings.
11695
Reason Tests
Failed junit tests hadoop.hbase.security.TestSecureIPC
hadoop.hbase.wal.TestWALCorruptionDueToDanglingByteBuffer
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/1/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux accfd33bafd3 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / 8cfc46d
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/1/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/1/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/1/testReport/
Max. process+thread count 4932 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 78 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 349 master passed
+1 compile 63 master passed
+1 checkstyle 103 master passed
+1 shadedjars 336 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 40 master passed
0 spotbugs 272 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 271 master passed
_ Patch Compile Tests _
+1 mvninstall 321 the patch passed
+1 compile 57 the patch passed
+1 javac 57 the patch passed
-1 checkstyle 87 hbase-server: The patch generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 292 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1001 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 34 the patch passed
+1 findbugs 264 the patch passed
_ Other Tests _
-1 unit 1763 hbase-server in the patch failed.
+1 asflicense 13 The patch does not generate ASF License warnings.
5482
Reason Tests
Failed junit tests hadoop.hbase.coprocessor.TestCoreRegionCoprocessor
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/2/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux bf2fdf909ae7 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / 8cfc46d
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/2/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/2/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/2/testReport/
Max. process+thread count 673 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/2/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 87 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 336 master passed
+1 compile 60 master passed
+1 checkstyle 90 master passed
+1 shadedjars 302 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 37 master passed
0 spotbugs 246 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 244 master passed
_ Patch Compile Tests _
+1 mvninstall 333 the patch passed
+1 compile 59 the patch passed
+1 javac 59 the patch passed
-1 checkstyle 92 hbase-server: The patch generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 300 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 994 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 33 the patch passed
+1 findbugs 255 the patch passed
_ Other Tests _
-1 unit 12556 hbase-server in the patch failed.
+1 asflicense 25 The patch does not generate ASF License warnings.
16220
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/3/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux e83908dbb657 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437@2/out/precommit/personality/provided.sh
git revision master / 237229c
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/3/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/3/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/3/testReport/
Max. process+thread count 4475 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/3/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 33 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 336 master passed
+1 compile 61 master passed
+1 checkstyle 94 master passed
+1 shadedjars 302 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 38 master passed
0 spotbugs 281 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 278 master passed
_ Patch Compile Tests _
+1 mvninstall 328 the patch passed
+1 compile 59 the patch passed
+1 javac 59 the patch passed
-1 checkstyle 92 hbase-server: The patch generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 304 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1032 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 35 the patch passed
+1 findbugs 271 the patch passed
_ Other Tests _
+1 unit 8999 hbase-server in the patch passed.
+1 asflicense 25 The patch does not generate ASF License warnings.
12739
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/4/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 331885c1c25d 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / 7e6684b
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/4/artifact/out/diff-checkstyle-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/4/testReport/
Max. process+thread count 4844 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/4/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@@ -1061,8 +1063,10 @@ protected final long stampSequenceIdAndPublishToRingBuffer(RegionInfo hri, WALKe
txidHolder.setValue(ringBuffer.next());
});
long txid = txidHolder.longValue();
ServerCall<?> rpcCall = RpcServer.getCurrentCall().filter(c -> c instanceof ServerCall)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The currentCall should always be a ServerCall I think, so no need the extra instanceof ? It's also OK, if you think it's fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for safety.

@@ -1002,6 +1001,8 @@ public void onEvent(final RingBufferTruck truck, final long sequence, boolean en
: new DamagedWALException("On sync", this.exception));
// Return to keep processing events coming off the ringbuffer
return;
} finally {
entry.getRpcCall().ifPresent(ServerCall::releaseByWAL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Releasing the BB here should be fine, because once the BB was written into the outputStream, it would be copied to a new memory area, won't depend on the rpc BB now

@@ -487,6 +490,7 @@ private void drainNonMarkerEditsAndFailSyncs() {
while (iter.hasNext()) {
FSWALEntry entry = iter.next();
if (!entry.getEdit().isMetaEdit()) {
entry.getRpcCall().ifPresent(ServerCall::releaseByWAL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In theory, once we remove a FSWALEntry from the unackedAppended deque, we should release the BB backend the WAL ? Could we define a deque subclass, once we remove the entry from it then will release it , then we don't need to release the wal everywhere, I think...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, if there are errors when syncing, we will put all the entries in unackedAppends back to toWriteAppends, and there we should not release the entries.

Copy link
Member

@openinx openinx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in AsyncFSWAL#appendAndSync, we also need to release the BB when IOException thrown..

      try {
        appended = append(writer, entry);
      } catch (IOException e) {
        throw new AssertionError("should not happen", e);
      }

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 74 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 337 master passed
+1 compile 51 master passed
+1 checkstyle 74 master passed
+1 shadedjars 267 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 34 master passed
0 spotbugs 252 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 250 master passed
_ Patch Compile Tests _
+1 mvninstall 328 the patch passed
+1 compile 55 the patch passed
+1 javac 55 the patch passed
+1 checkstyle 71 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 293 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 992 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 34 the patch passed
+1 findbugs 241 the patch passed
_ Other Tests _
+1 unit 17018 hbase-server in the patch passed.
+1 asflicense 34 The patch does not generate ASF License warnings.
20539
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/5/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux fff72c4f22e1 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / 7e6684b
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/5/testReport/
Max. process+thread count 4778 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/5/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@@ -141,14 +147,43 @@ public void done() {
cleanup();
}

private void release(int mask) {
for (;;) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should rather wait for notifications from cleanup()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I can not get your point. What's the problem here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant to put a wait call inside this for block, so that it does not keep iterating indefinitely. But I guess condition on #153 will already halt it on the 2nd iteration, so should be fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for CAS. You can see the code in AtomicInteger.getAndUpdate, almost the same.

@Apache9
Copy link
Contributor Author

Apache9 commented Aug 2, 2019

I think in AsyncFSWAL#appendAndSync, we also need to release the BB when IOException thrown..

      try {
        appended = append(writer, entry);
      } catch (IOException e) {
        throw new AssertionError("should not happen", e);
      }

I think the message means this should not happen, so we do not need to deal with it?

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 65 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 410 master passed
+1 compile 89 master passed
+1 checkstyle 80 master passed
+1 shadedjars 285 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 33 master passed
0 spotbugs 274 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 262 master passed
_ Patch Compile Tests _
+1 mvninstall 392 the patch passed
+1 compile 109 the patch passed
+1 javac 109 the patch passed
+1 checkstyle 125 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 284 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 985 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 33 the patch passed
+1 findbugs 371 the patch passed
_ Other Tests _
-1 unit 16160 hbase-server in the patch failed.
+1 asflicense 24 The patch does not generate ASF License warnings.
20107
Reason Tests
Failed junit tests hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/6/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 509cff76c25c 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / a6f0653
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/6/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/6/testReport/
Max. process+thread count 4665 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/6/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor Author

Apache9 commented Aug 3, 2019

The failed UT is unrelated. @openinx @wchevreuil Any other concerns? This is a critical bug, we should roll new releases soon.

Copy link
Member

@openinx openinx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think we should release the BB in the exceptional case for AsyncFSWAL#appendAndSync,

try {
        appended = append(writer, entry);
      } catch (IOException e) {
        throw new AssertionError("should not happen", e);
      }

There're coprocessorHost.preWALWrite inside the append method, although the Assert message say it shouldn't happen, but user may write an incorrect CP, which would throw an IOException..
Also, I think better to change the message "Shouldn't happen..."

@Apache9
Copy link
Contributor Author

Apache9 commented Aug 4, 2019

I still think we should release the BB in the exceptional case for AsyncFSWAL#appendAndSync,

try {
        appended = append(writer, entry);
      } catch (IOException e) {
        throw new AssertionError("should not happen", e);
      }

There're coprocessorHost.preWALWrite inside the append method, although the Assert message say it shouldn't happen, but user may write an incorrect CP, which would throw an IOException..
Also, I think better to change the message "Shouldn't happen..."

If this happens we just let the region server die, I think this is the correct way to deal with this. The design here can not deal with the IOException.

Copy link
Member

@openinx openinx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall, please address the minor comments, then I will give the +1.

Copy link
Member

@openinx openinx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, +1

}
}
}

@Override
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So here we rely that cleanup() will never be called before retainByWal(), otherwise the rpc call may end before the wal write is done?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should call retainByWal before cleanup. So we must call retainByWal in the rpc handler thread, before putting it into the ringbuffer of WAL, I think this is enough to make sure that we call retainByWal before cleanup.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 137 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 440 master passed
+1 compile 60 master passed
+1 checkstyle 115 master passed
+1 shadedjars 356 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 46 master passed
0 spotbugs 325 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 323 master passed
_ Patch Compile Tests _
+1 mvninstall 420 the patch passed
+1 compile 69 the patch passed
+1 javac 69 the patch passed
+1 checkstyle 101 hbase-server: The patch generated 0 new + 48 unchanged - 1 fixed = 48 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 331 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1195 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 34 the patch passed
+1 findbugs 258 the patch passed
_ Other Tests _
+1 unit 12023 hbase-server in the patch passed.
+1 asflicense 26 The patch does not generate ASF License warnings.
16359
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/7/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux d838541ba2d7 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / a6f0653
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/7/testReport/
Max. process+thread count 4795 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/7/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 107 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 336 master passed
+1 compile 61 master passed
+1 checkstyle 89 master passed
+1 shadedjars 303 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 40 master passed
0 spotbugs 308 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 304 master passed
_ Patch Compile Tests _
+1 mvninstall 333 the patch passed
+1 compile 64 the patch passed
+1 javac 64 the patch passed
+1 checkstyle 87 hbase-server: The patch generated 0 new + 48 unchanged - 1 fixed = 48 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 297 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1028 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 41 the patch passed
+1 findbugs 274 the patch passed
_ Other Tests _
-1 unit 15980 hbase-server in the patch failed.
+1 asflicense 25 The patch does not generate ASF License warnings.
19797
Reason Tests
Failed junit tests hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
hadoop.hbase.TestMetaTableAccessor
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/8/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 9ba72caba93a 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / abb60fa
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/8/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/8/testReport/
Max. process+thread count 4449 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/8/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 97 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
-1 mvninstall 85 root in master failed.
-1 compile 43 hbase-server in master failed.
+1 checkstyle 88 master passed
+1 shadedjars 298 branch has no errors when building our shaded downstream artifacts.
-1 javadoc 34 hbase-server in master failed.
0 spotbugs 372 Used deprecated FindBugs config; considering switching to SpotBugs.
-1 findbugs 39 hbase-server in master failed.
_ Patch Compile Tests _
-1 mvninstall 11 root in the patch failed.
-1 compile 38 hbase-server in the patch failed.
-1 javac 38 hbase-server in the patch failed.
+1 checkstyle 88 hbase-server: The patch generated 0 new + 48 unchanged - 1 fixed = 48 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 302 patch has no errors when building our shaded downstream artifacts.
-1 hadoopcheck 10 The patch causes 7 errors with Hadoop v2.8.5.
-1 hadoopcheck 19 The patch causes 7 errors with Hadoop v2.9.2.
-1 hadoopcheck 29 The patch causes 7 errors with Hadoop v3.1.2.
-1 javadoc 32 hbase-server in the patch failed.
-1 findbugs 39 hbase-server in the patch failed.
_ Other Tests _
-1 unit 40 hbase-server in the patch failed.
+1 asflicense 9 The patch does not generate ASF License warnings.
1348
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux af6708122807 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / d0e5ea1
Default Java 1.8.0_181
mvninstall https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/branch-mvninstall-root.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/branch-compile-hbase-server.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/branch-javadoc-hbase-server.txt
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/branch-findbugs-hbase-server.txt
mvninstall https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-mvninstall-root.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-compile-hbase-server.txt
javac https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-compile-hbase-server.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-javac-2.8.5.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-javac-2.9.2.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-javac-3.1.2.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-javadoc-hbase-server.txt
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-findbugs-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/testReport/
Max. process+thread count 77 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/9/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z)
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 81 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
-1 mvninstall 11 root in master failed.
-1 compile 40 hbase-server in master failed.
+1 checkstyle 87 master passed
+1 shadedjars 294 branch has no errors when building our shaded downstream artifacts.
-1 javadoc 31 hbase-server in master failed.
0 spotbugs 364 Used deprecated FindBugs config; considering switching to SpotBugs.
-1 findbugs 38 hbase-server in master failed.
_ Patch Compile Tests _
-1 mvninstall 10 root in the patch failed.
-1 compile 38 hbase-server in the patch failed.
-1 javac 38 hbase-server in the patch failed.
+1 checkstyle 84 hbase-server: The patch generated 0 new + 48 unchanged - 1 fixed = 48 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 347 patch has no errors when building our shaded downstream artifacts.
-1 hadoopcheck 11 The patch causes 7 errors with Hadoop v2.8.5.
-1 hadoopcheck 23 The patch causes 7 errors with Hadoop v2.9.2.
-1 hadoopcheck 34 The patch causes 7 errors with Hadoop v3.1.2.
-1 javadoc 42 hbase-server in the patch failed.
-1 findbugs 45 hbase-server in the patch failed.
_ Other Tests _
-1 unit 43 hbase-server in the patch failed.
+1 asflicense 11 The patch does not generate ASF License warnings.
1301
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 1df5b21627dd 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / ff96485
Default Java 1.8.0_181
mvninstall https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/branch-mvninstall-root.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/branch-compile-hbase-server.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/branch-javadoc-hbase-server.txt
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/branch-findbugs-hbase-server.txt
mvninstall https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-mvninstall-root.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-compile-hbase-server.txt
javac https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-compile-hbase-server.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-javac-2.8.5.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-javac-2.9.2.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-javac-3.1.2.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-javadoc-hbase-server.txt
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-findbugs-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/testReport/
Max. process+thread count 77 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/10/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z)
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor Author

Apache9 commented Aug 5, 2019

Let me merge this back if no other big concerns. This is a critical bug...

@Apache9 Apache9 merged commit 66a2fc5 into apache:master Aug 5, 2019
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 70 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 434 master passed
+1 compile 81 master passed
+1 checkstyle 96 master passed
+1 shadedjars 380 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 46 master passed
0 spotbugs 297 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 294 master passed
_ Patch Compile Tests _
+1 mvninstall 471 the patch passed
+1 compile 96 the patch passed
+1 javac 96 the patch passed
+1 checkstyle 102 hbase-server: The patch generated 0 new + 48 unchanged - 1 fixed = 48 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 379 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1251 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 42 the patch passed
+1 findbugs 318 the patch passed
_ Other Tests _
-1 unit 1929 hbase-server in the patch failed.
+1 asflicense 15 The patch does not generate ASF License warnings.
6476
Reason Tests
Failed junit tests hadoop.hbase.coprocessor.TestCoreRegionCoprocessor
hadoop.hbase.coprocessor.TestRegionCoprocessorHost
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/11/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 67d28139dc12 4.4.0-143-generic #169-Ubuntu SMP Thu Feb 7 07:56:38 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / f6ece8d
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/11/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/11/testReport/
Max. process+thread count 746 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/11/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

asfgit pushed a commit that referenced this pull request Aug 5, 2019
…SYNC_WAL is used (#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
asfgit pushed a commit that referenced this pull request Aug 5, 2019
…SYNC_WAL is used (#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
asfgit pushed a commit that referenced this pull request Aug 5, 2019
…SYNC_WAL is used (#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
asfgit pushed a commit that referenced this pull request Aug 5, 2019
…SYNC_WAL is used (#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 61 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ master Compile Tests _
+1 mvninstall 285 master passed
+1 compile 51 master passed
+1 checkstyle 72 master passed
+1 shadedjars 261 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 31 master passed
0 spotbugs 257 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 254 master passed
_ Patch Compile Tests _
+1 mvninstall 299 the patch passed
+1 compile 51 the patch passed
+1 javac 51 the patch passed
+1 checkstyle 70 hbase-server: The patch generated 0 new + 48 unchanged - 1 fixed = 48 total (was 49)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 256 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 911 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 37 the patch passed
+1 findbugs 268 the patch passed
_ Other Tests _
-1 unit 16467 hbase-server in the patch failed.
+1 asflicense 23 The patch does not generate ASF License warnings.
19824
Reason Tests
Failed junit tests hadoop.hbase.client.TestAsyncTableAdminApi
hadoop.hbase.replication.TestReplicationSmallTests
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/12/artifact/out/Dockerfile
GITHUB PR #437
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux d2b008745cee 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-437/out/precommit/personality/provided.sh
git revision master / f6ece8d
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/12/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/12/testReport/
Max. process+thread count 5096 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-437/12/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
…SYNC_WAL is used (apache#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
symat pushed a commit to symat/hbase that referenced this pull request Feb 17, 2021
…SYNC_WAL is used (apache#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
(cherry picked from commit 2806d1d)

Change-Id: I069ebca03aa493f5266d1c1605459359dd6e8457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants