Skip to content

HBASE-26286: Add support for specifying store file tracker when restoring or cloning snapshot - #3851

Closed
BukrosSzabolcs wants to merge 28 commits into
apache:HBASE-26067from
BukrosSzabolcs:HBASE-26286
Closed

HBASE-26286: Add support for specifying store file tracker when restoring or cloning snapshot#3851
BukrosSzabolcs wants to merge 28 commits into
apache:HBASE-26067from
BukrosSzabolcs:HBASE-26286

Conversation

@BukrosSzabolcs

Copy link
Copy Markdown
Contributor

add a clone snapshot parameter to force a specific SFT for the new table
add a check to restore snapshot that prevents an SFT change that would
break the current setup
tests

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 23sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for branch
+1 💚mvninstall4m 7sHBASE-26067 passed
+1 💚compile7m 11sHBASE-26067 passed
+1 💚checkstyle2m 48sHBASE-26067 passed
+1 💚spotbugs8m 31sHBASE-26067 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 48sthe patch passed
-1 ❌compile1m 25shbase-server in the patch failed.
-0 ⚠️cc1m 25shbase-server in the patch failed.
-0 ⚠️javac1m 25shbase-server in the patch failed.
-0 ⚠️checkstyle0m 31shbase-client: The patch generated 4 new + 115 unchanged - 0 fixed = 119 total (was 115)
-0 ⚠️checkstyle1m 5shbase-server: The patch generated 9 new + 134 unchanged - 2 fixed = 143 total (was 136)
+1 💚rubocop0m 13sThere were no new rubocop issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck19m 21sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚hbaseprotoc3m 3sthe patch passed
+1 💚spotbugs9m 18sthe patch passed
_ Other Tests _
+1 💚asflicense1m 6sThe patch does not generate ASF License warnings.
81m 42s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux c7d884353713 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 36b6088
Default JavaAdoptOpenJDK-1.8.0_282-b08
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
cchttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 30sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for branch
+1 💚mvninstall4m 0sHBASE-26067 passed
+1 💚compile3m 12sHBASE-26067 passed
+1 💚shadedjars8m 14sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 7sHBASE-26067 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall3m 51sthe patch passed
+1 💚compile3m 14sthe patch passed
+1 💚javac3m 14sthe patch passed
+1 💚shadedjars8m 22spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 3sthe patch passed
_ Other Tests _
+1 💚unit0m 47shbase-protocol-shaded in the patch passed.
+1 💚unit1m 19shbase-client in the patch passed.
-1 ❌unit154m 40shbase-server in the patch failed.
+1 💚unit6m 42shbase-thrift in the patch passed.
+1 💚unit7m 19shbase-shell in the patch passed.
210m 9s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux f09da3f49c0f 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 36b6088
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/testReport/
Max. process+thread count5106 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 15sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall4m 41sHBASE-26067 passed
+1 💚compile3m 44sHBASE-26067 passed
+1 💚shadedjars8m 14sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 33sHBASE-26067 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall4m 27sthe patch passed
+1 💚compile3m 45sthe patch passed
+1 💚javac3m 45sthe patch passed
+1 💚shadedjars8m 15spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 30sthe patch passed
_ Other Tests _
+1 💚unit1m 0shbase-protocol-shaded in the patch passed.
+1 💚unit1m 22shbase-client in the patch passed.
-1 ❌unit147m 37shbase-server in the patch failed.
+1 💚unit6m 53shbase-thrift in the patch passed.
+1 💚unit7m 10shbase-shell in the patch passed.
210m 14s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 6944450a6059 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 36b6088
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/testReport/
Max. process+thread count4217 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

public Future<Void> cloneSnapshotAsync(String snapshotName, TableName tableName,
boolean restoreAcl) throws IOException, TableExistsException, RestoreSnapshotException {
return admin.cloneSnapshot(snapshotName, tableName, restoreAcl);
@Override public Future<Void> cloneSnapshotAsync(String snapshotName, TableName tableName,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nits: @Override in a separated line

* @param snapshotName name of the snapshot to be cloned
* @param tableName name of the table where the snapshot will be restored
* @param restoreAcl <code>true</code> to clone acl into newly created table
* @param cloneSFT specify the StroreFileTracker implementation used for the table

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The parameter name is a bit confusing to me. It seems to mean whether to clone the SFT as clone is a verb...
Maybe just call it storeFileTrackerImpl?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

I would prefer not to use storeFileTrackerImpl since we use a Trackers enum value and not the Impl class name. What do you think about customSFT?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

But the javadoc says "specify the StroreFileTracker implementation"? Anyway, customSFT is better than cloneSFT, +1 on changing to customSFT.

boolean restoreAcl) {
return wrap(rawAdmin.restoreSnapshot(snapshotName, takeFailSafeSnapshot, restoreAcl));
boolean restoreAcl) {
return wrap(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need this change?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

No, reverting it.

private TableDescriptor tableDescriptor;
private SnapshotDescription snapshot;
private boolean restoreAcl;
private String cloneSFT;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we need to persist this in the procedure state data?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks for pointing it out! I'm adding this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking at the code, I think there is already a bug in CloneSnapshotProcedure. We do not persist restoreAcl...

Let me file another issue to fix it.

final SnapshotDescription snapshot, final TableDescriptor snapshotTableDesc,
final NonceKey nonceKey, final boolean restoreAcl) throws IOException {
final NonceKey nonceKey, final boolean restoreAcl)
throws IOException {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: unnecessary line break

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks

@wchevreuilwchevreuil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, assuming the UT failures are unrelated.

@Apache9Apache9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall LGTM. Just some minor issues.

protected void run() throws IOException {
setProcId(
getSnapshotManager().restoreOrCloneSnapshot(snapshotDesc, getNonceKey(), restoreAcl));
@Override protected void run() throws IOException {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Better update the formatter config of your IDE? The annotation should be on a seprated line...

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Yes, it's rather annoying

// check if a config change would change the behavior
static String checkIncompatibleConfig(String currentValue, String newValue, String defaultValue,
String errorMessage) throws RestoreSnapshotException {
Boolean hasIncompatibility = false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why Boolean instead of boolean?

Boolean hasIncompatibility = false;
//if there is no current override and the snapshot has an override that does not match the
//default
if (StringUtils.isEmpty(currentValue) && !StringUtils.isEmpty(newValue) &&

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I prefer we write the code like this:

if (a != null) {
if (b != null) {
blabla
} else {
blabla
}
} else {
if (b != null) {
blabla
} else {
blabla
}
}

The current logic is a bit hard to understand to me...

@BukrosSzabolcsBukrosSzabolcsNov 19, 2021

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Generally I would agree and I started to write it like that, breaking it down to single checks, but it got huge and from all the numerous outcomes only 3 was interesting to us. Consider the first part:

if (StringUtils.isEmpty(currentValue)) {
if (!StringUtils.isEmpty(newValue)) {
if (!defaultValue.equals(newValue)){
hasIncompatibility = true;
}
else {
//do nothing
}
}
else {
//do nothing
}
}

I never use the else cases and only care if all 3 conditions are true. At that point it felt cleaner to just make it a single check with all 3 conditions.

Alternately I could do something like:

if (StringUtils.isEmpty(currentValue)) {
if (!StringUtils.isEmpty(newValue) && !defaultValue.equals(newValue)) {
hasIncompatibility = true;
}
}
//if there is a current override
else if (!StringUtils.isEmpty(currentValue)) {
// we can only remove the override if it matches the default
if (StringUtils.isEmpty(newValue)) {
if (!defaultValue.equals(currentValue)){
hasIncompatibility = true;
}
}
// the new value have to match the current one
else if (!StringUtils.isEmpty(newValue)) { if (!currentValue.equals(newValue)) {
hasIncompatibility = true;
}
}
}

But even here we have if statements that have no else cause so they could be just merged back to the check above them like I originally did.
What do you think?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK, reviewed the code again, I think the difficulty here is that, we are not comparing only two values, there is a default value too. Then I suggest you use the trick in the checking method in StoreFileTrackerFactory, such as

publicstaticvoidcheckForModifyTable(Configurationconf, TableDescriptoroldTable,

Where we merge the base configuration with table descriptor and cf descriptor first, and then get the store file tracker implementation from the merged configuration object. In this way we do not need to take care of the override logic as the mergeConfigurations method does it for us.

Of course it will be slower as we need to merge all the configuration values, not only for store file tracker, but I do not think speed of this check is the bottleneck of a restoreSnapshot operation.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

You are right, that simplifies the logic.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall4m 5sHBASE-26067 passed
+1 💚compile7m 5sHBASE-26067 passed
+1 💚checkstyle2m 47sHBASE-26067 passed
+1 💚spotbugs8m 29sHBASE-26067 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 49sthe patch passed
-1 ❌compile1m 26shbase-server in the patch failed.
-0 ⚠️cc1m 26shbase-server in the patch failed.
-0 ⚠️javac1m 26shbase-server in the patch failed.
-0 ⚠️checkstyle0m 31shbase-client: The patch generated 4 new + 115 unchanged - 0 fixed = 119 total (was 115)
-0 ⚠️checkstyle1m 6shbase-server: The patch generated 9 new + 134 unchanged - 2 fixed = 143 total (was 136)
+1 💚rubocop0m 11sThere were no new rubocop issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck19m 24sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚hbaseprotoc3m 0sthe patch passed
+1 💚spotbugs9m 20sthe patch passed
_ Other Tests _
+1 💚asflicense1m 6sThe patch does not generate ASF License warnings.
77m 30s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux cceefe13793c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 0ad3556
Default JavaAdoptOpenJDK-1.8.0_282-b08
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
cchttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count95 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 32sMaven dependency ordering for branch
+1 💚mvninstall3m 48sHBASE-26067 passed
+1 💚compile3m 9sHBASE-26067 passed
+1 💚shadedjars8m 20sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 3sHBASE-26067 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall3m 47sthe patch passed
+1 💚compile3m 10sthe patch passed
+1 💚javac3m 10sthe patch passed
+1 💚shadedjars8m 33spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 5sthe patch passed
_ Other Tests _
+1 💚unit0m 46shbase-protocol-shaded in the patch passed.
+1 💚unit1m 20shbase-client in the patch passed.
-1 ❌unit154m 49shbase-server in the patch failed.
+1 💚unit6m 37shbase-thrift in the patch passed.
+1 💚unit7m 19shbase-shell in the patch passed.
210m 21s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 475eed260abb 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 0ad3556
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/testReport/
Max. process+thread count5027 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
Contributor

Any updates here?

Thanks.

Apache9and others added 14 commits November 27, 2021 22:53
…racking logic
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
…g from different store file tracker implementations (apache#3656)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
…iptor when creating table (apache#3666)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
… file tracker implementation (apache#3665)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
… tracker (apache#3681)
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Reviewed-by: Josh Elser <elserj@apache.org>
apache#3721)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
…et method (apache#3774)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
… impl (apache#3749)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
…ations to TableDescriptor for existing tables (apache#3700)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Reviewed-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
…he#3786)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
@Apache9

Copy link
Copy Markdown
Contributor

I've rebased HBASE-26067 to the newest master. For addressing the UT problem so we can run most of UTs in the nightly job.

Please rebase the PR.

Thanks.

Apache9and others added 4 commits December 2, 2021 22:00
…racking logic
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
…ring or cloning snapshot
add a clone snapshot parameter to force a specific SFT for the new table
add a check to restore snapshot that prevents an SFT change that woud
break the current setup
tests
Change-Id: I40702103af386335ea1e98cd2f1ecc27485fbefb
…ring or cloning snapshot
rename variable to customSFT
add variable to clone procedure serialization
Change-Id: Id940fb381cb4b405549d9e6babda300428341294
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 29sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 1sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall3m 49sHBASE-26067 passed
+1 💚compile7m 2sHBASE-26067 passed
+1 💚checkstyle2m 41sHBASE-26067 passed
+1 💚spotbugs8m 32sHBASE-26067 passed
-0 ⚠️patch2m 8sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 49sthe patch passed
+1 💚compile7m 2sthe patch passed
+1 💚cc7m 2sthe patch passed
+1 💚javac7m 2sthe patch passed
-0 ⚠️checkstyle0m 32shbase-client: The patch generated 1 new + 115 unchanged - 0 fixed = 116 total (was 115)
-0 ⚠️checkstyle1m 5shbase-server: The patch generated 3 new + 129 unchanged - 9 fixed = 132 total (was 138)
+1 💚rubocop0m 13sThere were no new rubocop issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck19m 31sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚hbaseprotoc3m 4sthe patch passed
+1 💚spotbugs9m 25sthe patch passed
_ Other Tests _
+1 💚asflicense1m 4sThe patch does not generate ASF License warnings.
79m 25s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux d8f0c38f65c6 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-1.8.0_282-b08
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 26sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall4m 5sHBASE-26067 passed
+1 💚compile3m 12sHBASE-26067 passed
+1 💚shadedjars8m 12sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 8sHBASE-26067 passed
-0 ⚠️patch11m 16sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall3m 54sthe patch passed
+1 💚compile3m 13sthe patch passed
+1 💚javac3m 13sthe patch passed
+1 💚shadedjars8m 15spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 6sthe patch passed
_ Other Tests _
+1 💚unit0m 48shbase-protocol-shaded in the patch passed.
+1 💚unit1m 22shbase-client in the patch passed.
+1 💚unit153m 4shbase-server in the patch passed.
+1 💚unit6m 42shbase-thrift in the patch passed.
+1 💚unit7m 35shbase-shell in the patch passed.
208m 35s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 5f81b8607f02 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/testReport/
Max. process+thread count5163 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 56sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 29sMaven dependency ordering for branch
+1 💚mvninstall4m 58sHBASE-26067 passed
+1 💚compile3m 57sHBASE-26067 passed
+1 💚shadedjars9m 13sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 35sHBASE-26067 passed
-0 ⚠️patch12m 36sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall5m 2sthe patch passed
+1 💚compile3m 55sthe patch passed
+1 💚javac3m 55sthe patch passed
+1 💚shadedjars9m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 36sthe patch passed
_ Other Tests _
+1 💚unit1m 3shbase-protocol-shaded in the patch passed.
+1 💚unit1m 43shbase-client in the patch passed.
+1 💚unit213m 45shbase-server in the patch passed.
+1 💚unit7m 43shbase-thrift in the patch passed.
+1 💚unit7m 12shbase-shell in the patch passed.
276m 54s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 2abb8338c183 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/testReport/
Max. process+thread count3543 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@joshelserjoshelser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great to me. I think I agree with the method layout you have here already, Szabolcs.

It would be great to land this change this week, but let's give Duo the time to comment back once more :)

* @param baseConf Current global configuration
* @throws RestoreSnapshotException if restore would break the current SFT setup
*/
public static void checkForRestoreSnapshot(TableDescriptor currentTableDesc,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: maybe validatePreRestoreSnapshot(..) to better indicate what we're doing (validating the state) and when we are doing it (before a restore_snapshot).

"Validate" is a bit more specific than "check" to me, but I recognize this is also subjective.

* @throws RestoreSnapshotException if snapshot failed to be cloned
* @throws IllegalArgumentException if the specified table has not a valid name
*/
@InterfaceStability.Evolving

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's remove this one. It should be stable, what is the real concern here? The type of customSFT?

sftConfig.set(StoreFileTrackerFactory.TRACKER_IMPL, customSFT);
StoreFileTrackerFactory.getTrackerClass(sftConfig);
}
catch (RuntimeException e){

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Catching RuntimeException is a bit ugly... What happens if we just throw the exception out?

@Apache9

Copy link
Copy Markdown
Contributor

Looks great to me. I think I agree with the method layout you have here already, Szabolcs.

It would be great to land this change this week, but let's give Duo the time to comment back once more :)

On the method layout we could do it later, since the related classes are all IA.Private.

There are only two things, one is to remove the IS annotation, we should not use it for IA.Public interface. And another concern is catching a RuntimeException. I do not have big concerns here. I think we could get this in this week and then merge the feature branch back.

…edure/CloneSnapshotProcedure.java
Co-authored-by: Josh Elser <josh.elser@gmail.com>
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 37sMaven dependency ordering for branch
+1 💚mvninstall6m 15sHBASE-26067 passed
+1 💚compile4m 46sHBASE-26067 passed
+1 💚shadedjars11m 17sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 1sHBASE-26067 passed
-0 ⚠️patch15m 13sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall5m 48sthe patch passed
+1 💚compile4m 40sthe patch passed
+1 💚javac4m 40sthe patch passed
+1 💚shadedjars11m 3spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 8sthe patch passed
_ Other Tests _
+1 💚unit1m 17shbase-protocol-shaded in the patch passed.
+1 💚unit1m 36shbase-client in the patch passed.
-1 ❌unit11m 26shbase-server in the patch failed.
+1 💚unit6m 59shbase-thrift in the patch passed.
+1 💚unit7m 6shbase-shell in the patch passed.
82m 2s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 46c2a229fc46 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/testReport/
Max. process+thread count2426 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 59sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 30sMaven dependency ordering for branch
+1 💚mvninstall4m 15sHBASE-26067 passed
+1 💚compile7m 13sHBASE-26067 passed
+1 💚checkstyle2m 53sHBASE-26067 passed
+1 💚spotbugs9m 4sHBASE-26067 passed
-0 ⚠️patch2m 4sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall4m 12sthe patch passed
+1 💚compile7m 8sthe patch passed
+1 💚cc7m 8sthe patch passed
+1 💚javac7m 8sthe patch passed
-0 ⚠️checkstyle0m 30shbase-client: The patch generated 1 new + 115 unchanged - 0 fixed = 116 total (was 115)
-0 ⚠️checkstyle1m 12shbase-server: The patch generated 3 new + 129 unchanged - 9 fixed = 132 total (was 138)
+1 💚rubocop0m 15sThere were no new rubocop issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck21m 29sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚hbaseprotoc2m 58sthe patch passed
+1 💚spotbugs9m 53sthe patch passed
_ Other Tests _
+1 💚asflicense0m 53sThe patch does not generate ASF License warnings.
84m 18s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux c956880a620d 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-1.8.0_282-b08
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count86 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

…ring or cloning snapshot
remove IS.Evolving
change customSFt validation error handling
rename snapshot restore check
@BukrosSzabolcs

Copy link
Copy Markdown
ContributorAuthor

@Apache9 I removed the IS annotation, removed the catch RuntimeException, updated the test to match this change and renamed the restore SFT validation method as Josh requested.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall3m 49sHBASE-26067 passed
+1 💚compile3m 14sHBASE-26067 passed
+1 💚shadedjars8m 15sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 7sHBASE-26067 passed
-0 ⚠️patch11m 19sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall3m 54sthe patch passed
+1 💚compile3m 12sthe patch passed
+1 💚javac3m 12sthe patch passed
+1 💚shadedjars8m 19spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 4sthe patch passed
_ Other Tests _
+1 💚unit0m 47shbase-protocol-shaded in the patch passed.
+1 💚unit1m 20shbase-client in the patch passed.
+1 💚unit153m 23shbase-server in the patch passed.
+1 💚unit6m 40shbase-thrift in the patch passed.
+1 💚unit7m 28shbase-shell in the patch passed.
208m 45s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 3c651f513e14 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/testReport/
Max. process+thread count5046 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 1sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 29sMaven dependency ordering for branch
+1 💚mvninstall3m 46sHBASE-26067 passed
+1 💚compile7m 2sHBASE-26067 passed
+1 💚checkstyle2m 42sHBASE-26067 passed
+1 💚spotbugs8m 39sHBASE-26067 passed
-0 ⚠️patch2m 11sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 55sthe patch passed
+1 💚compile7m 25sthe patch passed
+1 💚cc7m 25sthe patch passed
+1 💚javac7m 25sthe patch passed
+1 💚checkstyle0m 11sThe patch passed checkstyle in hbase-protocol-shaded
-0 ⚠️checkstyle0m 31shbase-client: The patch generated 2 new + 115 unchanged - 0 fixed = 117 total (was 115)
+1 💚checkstyle1m 7shbase-server: The patch generated 0 new + 129 unchanged - 9 fixed = 129 total (was 138)
+1 💚checkstyle0m 46sThe patch passed checkstyle in hbase-thrift
+1 💚checkstyle0m 12sThe patch passed checkstyle in hbase-shell
+1 💚rubocop0m 14sThere were no new rubocop issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck21m 23sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚hbaseprotoc3m 51sthe patch passed
+1 💚spotbugs13m 24sthe patch passed
_ Other Tests _
+1 💚asflicense1m 9sThe patch does not generate ASF License warnings.
88m 44s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux a35f2cd424f5 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-1.8.0_282-b08
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 0sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall4m 8sHBASE-26067 passed
+1 💚compile3m 15sHBASE-26067 passed
+1 💚shadedjars8m 18sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 8sHBASE-26067 passed
-0 ⚠️patch11m 23sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall3m 50sthe patch passed
+1 💚compile3m 12sthe patch passed
+1 💚javac3m 12sthe patch passed
+1 💚shadedjars8m 22spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 5sthe patch passed
_ Other Tests _
+1 💚unit0m 46shbase-protocol-shaded in the patch passed.
+1 💚unit1m 17shbase-client in the patch passed.
+1 💚unit167m 32shbase-server in the patch passed.
+1 💚unit7m 47shbase-thrift in the patch passed.
+1 💚unit8m 41shbase-shell in the patch passed.
225m 44s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3851
JIRA IssueHBASE-26286
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 158cde37a3a3 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionHBASE-26067 / 4aa3f47
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/testReport/
Max. process+thread count3460 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@joshelser

Copy link
Copy Markdown
Member

the github check appears to have failed due to some failures in org.apache.hadoop.hbase.security.access.TestNamespaceCommands which appear broken in trace/Netty code. I don't think they're related to Szabolcs' change.

asfgit pushed a commit that referenced this pull request Dec 16, 2021
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Apache9 pushed a commit that referenced this pull request Dec 17, 2021
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
asfgit pushed a commit that referenced this pull request Dec 22, 2021
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Apache9 pushed a commit that referenced this pull request Jan 1, 2022
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Apache9 pushed a commit that referenced this pull request Jan 2, 2022
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Apache9 pushed a commit that referenced this pull request Jan 2, 2022
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Apache9 pushed a commit that referenced this pull request Jan 4, 2022
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 18, 2022
…ring or cloning snapshot
Closesapache#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 19, 2022
…ring or cloning snapshot
Closesapache#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 25, 2022
…ring or cloning snapshot
Closesapache#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 26, 2022
…ring or cloning snapshot
Closesapache#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
apurtell pushed a commit that referenced this pull request Mar 26, 2022
…ring or cloning snapshot
Closes#3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Sign up for freeto 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.

6 participants

@BukrosSzabolcs@Apache-HBase@Apache9@joshelser@wchevreuil@GeorryHuang