Skip to content

Conversation

@OpenOpened
Copy link

jira : https://jira.apache.org/jira/browse/HBASE-23218

The current WALEntrySinkFilter filter interface can only filter table and writetime, which is not flexible enough. It often needs to get all the attributes of entry for comprehensive judgment and filtering.

@OpenOpened OpenOpened changed the title Increase the flexibility of replication walentry filter interface HBASE-23218 Increase the flexibility of replication walentry filter interface Oct 25, 2019
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 33s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 23s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 21s master passed
💚 shadedjars 4m 34s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 11s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 10s master passed
_ Patch Compile Tests _
💚 mvninstall 4m 54s the patch passed
💚 compile 0m 54s the patch passed
💚 javac 0m 54s the patch passed
💔 checkstyle 1m 20s hbase-server: The patch generated 1 new + 12 unchanged - 0 fixed = 13 total (was 12)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 39s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 6s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 36s the patch passed
💚 findbugs 4m 25s the patch passed
_ Other Tests _
💚 unit 159m 4s hbase-server in the patch passed.
💚 asflicense 0m 35s The patch does not generate ASF License warnings.
216m 31s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-760/1/artifact/out/Dockerfile
GITHUB PR #760
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 7ab6a7cd7c0a 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-760/out/precommit/personality/provided.sh
git revision master / d7b90b3
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-760/1/artifact/out/diff-checkstyle-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-760/1/testReport/
Max. process+thread count 4611 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-760/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

* @return True if we are to filter out the edit.
*/
boolean filter(TableName table, long writeTime);
boolean filter(WALEntry entry);
Copy link
Contributor

Choose a reason for hiding this comment

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

Exposing the PB object here is the concern. We did lot of work for 2.0 to avoid this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, what @anoopsjohn said. We don't want PBs in our API.

@OpenOpened OpenOpened closed this Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants