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-26286: Add support for specifying store file tracker when restoring or cloning snapshot #3851

Closed
wants to merge 28 commits into from

Conversation

BukrosSzabolcs
Copy link
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

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 4m 23s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for branch
+1 💚 mvninstall 4m 7s HBASE-26067 passed
+1 💚 compile 7m 11s HBASE-26067 passed
+1 💚 checkstyle 2m 48s HBASE-26067 passed
+1 💚 spotbugs 8m 31s HBASE-26067 passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 3m 48s the patch passed
-1 ❌ compile 1m 25s hbase-server in the patch failed.
-0 ⚠️ cc 1m 25s hbase-server in the patch failed.
-0 ⚠️ javac 1m 25s hbase-server in the patch failed.
-0 ⚠️ checkstyle 0m 31s hbase-client: The patch generated 4 new + 115 unchanged - 0 fixed = 119 total (was 115)
-0 ⚠️ checkstyle 1m 5s hbase-server: The patch generated 9 new + 134 unchanged - 2 fixed = 143 total (was 136)
+1 💚 rubocop 0m 13s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 19m 21s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 hbaseprotoc 3m 3s the patch passed
+1 💚 spotbugs 9m 18s the patch passed
_ Other Tests _
+1 💚 asflicense 1m 6s The patch does not generate ASF License warnings.
81m 42s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 36b6088
Default Java AdoptOpenJDK-1.8.0_282-b08
compile https://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
cc https://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
javac https://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
checkstyle https://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
checkstyle https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for branch
+1 💚 mvninstall 4m 0s HBASE-26067 passed
+1 💚 compile 3m 12s HBASE-26067 passed
+1 💚 shadedjars 8m 14s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 7s HBASE-26067 passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 3m 51s the patch passed
+1 💚 compile 3m 14s the patch passed
+1 💚 javac 3m 14s the patch passed
+1 💚 shadedjars 8m 22s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 3s the patch passed
_ Other Tests _
+1 💚 unit 0m 47s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 19s hbase-client in the patch passed.
-1 ❌ unit 154m 40s hbase-server in the patch failed.
+1 💚 unit 6m 42s hbase-thrift in the patch passed.
+1 💚 unit 7m 19s hbase-shell in the patch passed.
210m 9s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 36b6088
Default Java AdoptOpenJDK-1.8.0_282-b08
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/testReport/
Max. process+thread count 5106 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 4m 15s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for branch
+1 💚 mvninstall 4m 41s HBASE-26067 passed
+1 💚 compile 3m 44s HBASE-26067 passed
+1 💚 shadedjars 8m 14s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 33s HBASE-26067 passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
+1 💚 mvninstall 4m 27s the patch passed
+1 💚 compile 3m 45s the patch passed
+1 💚 javac 3m 45s the patch passed
+1 💚 shadedjars 8m 15s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 30s the patch passed
_ Other Tests _
+1 💚 unit 1m 0s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 22s hbase-client in the patch passed.
-1 ❌ unit 147m 37s hbase-server in the patch failed.
+1 💚 unit 6m 53s hbase-thrift in the patch passed.
+1 💚 unit 7m 10s hbase-shell in the patch passed.
210m 14s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 36b6088
Default Java AdoptOpenJDK-11.0.10+9
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/testReport/
Max. process+thread count 4217 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache 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
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
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
Contributor Author

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
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
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
Contributor Author

Choose a reason for hiding this comment

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

No, reverting it.

@@ -71,6 +75,7 @@
private TableDescriptor tableDescriptor;
private SnapshotDescription snapshot;
private boolean restoreAcl;
private String cloneSFT;
Copy link
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
Contributor Author

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
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.

@@ -877,9 +943,14 @@ public long restoreOrCloneSnapshot(final SnapshotDescription reqSnapshot, final
*/
private long restoreSnapshot(final SnapshotDescription reqSnapshot, final TableName tableName,
final SnapshotDescription snapshot, final TableDescriptor snapshotTableDesc,
final NonceKey nonceKey, final boolean restoreAcl) throws IOException {
final NonceKey nonceKey, final boolean restoreAcl)
throws IOException {
Copy link
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
Contributor Author

Choose a reason for hiding this comment

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

Thanks

Copy link
Contributor

@wchevreuil wchevreuil left a comment

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.

Copy link
Contributor

@Apache9 Apache9 left a comment

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
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
Contributor Author

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
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
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...

Copy link
Contributor Author

@BukrosSzabolcs BukrosSzabolcs Nov 19, 2021

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
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

public static void checkForModifyTable(Configuration conf, TableDescriptor oldTable,

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
Contributor Author

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

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for branch
+1 💚 mvninstall 4m 5s HBASE-26067 passed
+1 💚 compile 7m 5s HBASE-26067 passed
+1 💚 checkstyle 2m 47s HBASE-26067 passed
+1 💚 spotbugs 8m 29s HBASE-26067 passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 3m 49s the patch passed
-1 ❌ compile 1m 26s hbase-server in the patch failed.
-0 ⚠️ cc 1m 26s hbase-server in the patch failed.
-0 ⚠️ javac 1m 26s hbase-server in the patch failed.
-0 ⚠️ checkstyle 0m 31s hbase-client: The patch generated 4 new + 115 unchanged - 0 fixed = 119 total (was 115)
-0 ⚠️ checkstyle 1m 6s hbase-server: The patch generated 9 new + 134 unchanged - 2 fixed = 143 total (was 136)
+1 💚 rubocop 0m 11s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 19m 24s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 hbaseprotoc 3m 0s the patch passed
+1 💚 spotbugs 9m 20s the patch passed
_ Other Tests _
+1 💚 asflicense 1m 6s The patch does not generate ASF License warnings.
77m 30s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 0ad3556
Default Java AdoptOpenJDK-1.8.0_282-b08
compile https://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
cc https://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
javac https://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
checkstyle https://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
checkstyle https://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 count 95 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 32s Maven dependency ordering for branch
+1 💚 mvninstall 3m 48s HBASE-26067 passed
+1 💚 compile 3m 9s HBASE-26067 passed
+1 💚 shadedjars 8m 20s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 3s HBASE-26067 passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
+1 💚 mvninstall 3m 47s the patch passed
+1 💚 compile 3m 10s the patch passed
+1 💚 javac 3m 10s the patch passed
+1 💚 shadedjars 8m 33s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 5s the patch passed
_ Other Tests _
+1 💚 unit 0m 46s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 20s hbase-client in the patch passed.
-1 ❌ unit 154m 49s hbase-server in the patch failed.
+1 💚 unit 6m 37s hbase-thrift in the patch passed.
+1 💚 unit 7m 19s hbase-shell in the patch passed.
210m 21s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 0ad3556
Default Java AdoptOpenJDK-1.8.0_282-b08
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/testReport/
Max. process+thread count 5027 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor

Apache9 commented Nov 26, 2021

Any updates here?

Thanks.

Apache9 and others added 14 commits November 27, 2021 22:53
…g from different store file tracker implementations (apache#3656)

Signed-off-by: Wellington Chevreuil <[email protected]>
… file tracker implementation (apache#3665)

Signed-off-by: Wellington Chevreuil <[email protected]>
…ations to TableDescriptor for existing tables (apache#3700)

Signed-off-by: Duo Zhang <[email protected]>
Reviewed-by: Wellington Ramos Chevreuil <[email protected]>
…he#3786)

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
Signed-off-by: Wellington Ramos Chevreuil <[email protected]>
@Apache9
Copy link
Contributor

Apache9 commented Nov 27, 2021

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.

Apache9 and others added 4 commits December 2, 2021 22:00
…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

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 1s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for branch
+1 💚 mvninstall 3m 49s HBASE-26067 passed
+1 💚 compile 7m 2s HBASE-26067 passed
+1 💚 checkstyle 2m 41s HBASE-26067 passed
+1 💚 spotbugs 8m 32s HBASE-26067 passed
-0 ⚠️ patch 2m 8s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 3m 49s the patch passed
+1 💚 compile 7m 2s the patch passed
+1 💚 cc 7m 2s the patch passed
+1 💚 javac 7m 2s the patch passed
-0 ⚠️ checkstyle 0m 32s hbase-client: The patch generated 1 new + 115 unchanged - 0 fixed = 116 total (was 115)
-0 ⚠️ checkstyle 1m 5s hbase-server: The patch generated 3 new + 129 unchanged - 9 fixed = 132 total (was 138)
+1 💚 rubocop 0m 13s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 19m 31s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 hbaseprotoc 3m 4s the patch passed
+1 💚 spotbugs 9m 25s the patch passed
_ Other Tests _
+1 💚 asflicense 1m 4s The patch does not generate ASF License warnings.
79m 25s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://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
checkstyle https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 26s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for branch
+1 💚 mvninstall 4m 5s HBASE-26067 passed
+1 💚 compile 3m 12s HBASE-26067 passed
+1 💚 shadedjars 8m 12s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 8s HBASE-26067 passed
-0 ⚠️ patch 11m 16s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
+1 💚 mvninstall 3m 54s the patch passed
+1 💚 compile 3m 13s the patch passed
+1 💚 javac 3m 13s the patch passed
+1 💚 shadedjars 8m 15s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 6s the patch passed
_ Other Tests _
+1 💚 unit 0m 48s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 22s hbase-client in the patch passed.
+1 💚 unit 153m 4s hbase-server in the patch passed.
+1 💚 unit 6m 42s hbase-thrift in the patch passed.
+1 💚 unit 7m 35s hbase-shell in the patch passed.
208m 35s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/testReport/
Max. process+thread count 5163 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 56s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 29s Maven dependency ordering for branch
+1 💚 mvninstall 4m 58s HBASE-26067 passed
+1 💚 compile 3m 57s HBASE-26067 passed
+1 💚 shadedjars 9m 13s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 35s HBASE-26067 passed
-0 ⚠️ patch 12m 36s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
+1 💚 mvninstall 5m 2s the patch passed
+1 💚 compile 3m 55s the patch passed
+1 💚 javac 3m 55s the patch passed
+1 💚 shadedjars 9m 5s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 36s the patch passed
_ Other Tests _
+1 💚 unit 1m 3s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 43s hbase-client in the patch passed.
+1 💚 unit 213m 45s hbase-server in the patch passed.
+1 💚 unit 7m 43s hbase-thrift in the patch passed.
+1 💚 unit 7m 12s hbase-shell in the patch passed.
276m 54s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/testReport/
Max. process+thread count 3543 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/7/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@joshelser joshelser left a comment

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
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
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
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
Contributor

Apache9 commented Dec 15, 2021

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 <[email protected]>
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 34s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for branch
+1 💚 mvninstall 6m 15s HBASE-26067 passed
+1 💚 compile 4m 46s HBASE-26067 passed
+1 💚 shadedjars 11m 17s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 1s HBASE-26067 passed
-0 ⚠️ patch 15m 13s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 5m 48s the patch passed
+1 💚 compile 4m 40s the patch passed
+1 💚 javac 4m 40s the patch passed
+1 💚 shadedjars 11m 3s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 8s the patch passed
_ Other Tests _
+1 💚 unit 1m 17s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 36s hbase-client in the patch passed.
-1 ❌ unit 11m 26s hbase-server in the patch failed.
+1 💚 unit 6m 59s hbase-thrift in the patch passed.
+1 💚 unit 7m 6s hbase-shell in the patch passed.
82m 2s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-11.0.10+9
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/testReport/
Max. process+thread count 2426 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 59s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 30s Maven dependency ordering for branch
+1 💚 mvninstall 4m 15s HBASE-26067 passed
+1 💚 compile 7m 13s HBASE-26067 passed
+1 💚 checkstyle 2m 53s HBASE-26067 passed
+1 💚 spotbugs 9m 4s HBASE-26067 passed
-0 ⚠️ patch 2m 4s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 4m 12s the patch passed
+1 💚 compile 7m 8s the patch passed
+1 💚 cc 7m 8s the patch passed
+1 💚 javac 7m 8s the patch passed
-0 ⚠️ checkstyle 0m 30s hbase-client: The patch generated 1 new + 115 unchanged - 0 fixed = 116 total (was 115)
-0 ⚠️ checkstyle 1m 12s hbase-server: The patch generated 3 new + 129 unchanged - 9 fixed = 132 total (was 138)
+1 💚 rubocop 0m 15s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 21m 29s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 hbaseprotoc 2m 58s the patch passed
+1 💚 spotbugs 9m 53s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 53s The patch does not generate ASF License warnings.
84m 18s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://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
checkstyle https://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 count 86 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache 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
Contributor Author

@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

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for branch
+1 💚 mvninstall 3m 49s HBASE-26067 passed
+1 💚 compile 3m 14s HBASE-26067 passed
+1 💚 shadedjars 8m 15s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 7s HBASE-26067 passed
-0 ⚠️ patch 11m 19s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 3m 54s the patch passed
+1 💚 compile 3m 12s the patch passed
+1 💚 javac 3m 12s the patch passed
+1 💚 shadedjars 8m 19s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 4s the patch passed
_ Other Tests _
+1 💚 unit 0m 47s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 20s hbase-client in the patch passed.
+1 💚 unit 153m 23s hbase-server in the patch passed.
+1 💚 unit 6m 40s hbase-thrift in the patch passed.
+1 💚 unit 7m 28s hbase-shell in the patch passed.
208m 45s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/testReport/
Max. process+thread count 5046 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/8/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 1s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 29s Maven dependency ordering for branch
+1 💚 mvninstall 3m 46s HBASE-26067 passed
+1 💚 compile 7m 2s HBASE-26067 passed
+1 💚 checkstyle 2m 42s HBASE-26067 passed
+1 💚 spotbugs 8m 39s HBASE-26067 passed
-0 ⚠️ patch 2m 11s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 3m 55s the patch passed
+1 💚 compile 7m 25s the patch passed
+1 💚 cc 7m 25s the patch passed
+1 💚 javac 7m 25s the patch passed
+1 💚 checkstyle 0m 11s The patch passed checkstyle in hbase-protocol-shaded
-0 ⚠️ checkstyle 0m 31s hbase-client: The patch generated 2 new + 115 unchanged - 0 fixed = 117 total (was 115)
+1 💚 checkstyle 1m 7s hbase-server: The patch generated 0 new + 129 unchanged - 9 fixed = 129 total (was 138)
+1 💚 checkstyle 0m 46s The patch passed checkstyle in hbase-thrift
+1 💚 checkstyle 0m 12s The patch passed checkstyle in hbase-shell
+1 💚 rubocop 0m 14s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 21m 23s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 hbaseprotoc 3m 51s the patch passed
+1 💚 spotbugs 13m 24s the patch passed
_ Other Tests _
+1 💚 asflicense 1m 9s The patch does not generate ASF License warnings.
88m 44s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 0s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ HBASE-26067 Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for branch
+1 💚 mvninstall 4m 8s HBASE-26067 passed
+1 💚 compile 3m 15s HBASE-26067 passed
+1 💚 shadedjars 8m 18s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 8s HBASE-26067 passed
-0 ⚠️ patch 11m 23s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 3m 50s the patch passed
+1 💚 compile 3m 12s the patch passed
+1 💚 javac 3m 12s the patch passed
+1 💚 shadedjars 8m 22s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 5s the patch passed
_ Other Tests _
+1 💚 unit 0m 46s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 17s hbase-client in the patch passed.
+1 💚 unit 167m 32s hbase-server in the patch passed.
+1 💚 unit 7m 47s hbase-thrift in the patch passed.
+1 💚 unit 8m 41s hbase-shell in the patch passed.
225m 44s
Subsystem Report/Notes
Docker ClientAPI=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 Issue HBASE-26286
Optional Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision HBASE-26067 / 4aa3f47
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/testReport/
Max. process+thread count 3460 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3851/9/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@joshelser
Copy link
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 <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
@joshelser joshelser closed this Dec 16, 2021
Apache9 pushed a commit that referenced this pull request Dec 17, 2021
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
asfgit pushed a commit that referenced this pull request Dec 22, 2021
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
Apache9 pushed a commit that referenced this pull request Jan 1, 2022
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
Apache9 pushed a commit that referenced this pull request Jan 2, 2022
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
Apache9 pushed a commit that referenced this pull request Jan 2, 2022
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
Apache9 pushed a commit that referenced this pull request Jan 4, 2022
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 18, 2022
…ring or cloning snapshot

Closes apache#3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 19, 2022
…ring or cloning snapshot

Closes apache#3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 25, 2022
…ring or cloning snapshot

Closes apache#3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
apurtell pushed a commit to apurtell/hbase that referenced this pull request Mar 26, 2022
…ring or cloning snapshot

Closes apache#3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
apurtell pushed a commit that referenced this pull request Mar 26, 2022
…ring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Josh Elser <[email protected]>
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.

6 participants