-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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-25475: Unset zk based wal splitting explicitly in tests #2891
Conversation
dasanjan1296
commented
Jan 16, 2021
•
edited
Loading
edited
- zk based wal splitting was deprecated as part of HBASE-24632 and the changes still aren't there in branch-2.3. Hence the assumption of default wal splitting to be procedure-based rather than zk-based doesn't hold for the said branch. The same needs to be considered while setting up the tests in TestSplitWALManager in absence of which the tests were failing in the branch due to NPE.
- The changes have been tested on branch-2.3 and the test failures are also gone.
🎊 +1 overall
This message was automatically generated. |
@dasanjan1296 Since HBASE-24632 has fixVersion: 3.0.0 and 2.4.0, this Jira is applicable to releases 2.4.0+ and 3.0.0+ only. Hence, we cannot make this change in branch-2.3. I believe we might have to remove the test. FYI @saintstack @wchevreuil any other recommendations? |
Although this change can be merged on master, branch-2 and branch-2.4. But as far as issue with recent test on branch-2.3 is concerned, I think we cannot backport this PR change to branch-2.3. |
🎊 +1 overall
This message was automatically generated. |
@virajjasani Please correct me if I'm wrong. As part of HBASE-21588, procedure-based WAL splitting was introduced and was also backported to branch-2.3. However, as part of HBASE-24632, procedure-based WAL splitting was made as default(on 3.0.0 and 2.4.0) which is why this change is required especially on the other branches(including branch-2.3) so that we explicitly use procedure-based WAL splitting in the tests. I made an incorrect assumption while writing the test that procedure-based splitting is the default way for all branches. |
🎊 +1 overall
This message was automatically generated. |
@dasanjan1296 your understanding of feature rollout is correct. However, since master and branch-2, 2.4 are the ones with proc based WAL splitting as default, current PR changes should be applied to them. For branch-2.3, ZK based WAL splitting is default but proc based WAL split option is available I believe. Hence, for branch-2.3 test, rather than changing current test file, you can create new one and disable ZK based WAL splitting prop specifically there. That way we will be able to write test only in that new test class without affecting existing one because existing one behaves with default behaviour. |
@virajjasani Thanks a lot for the clarification! However, I still have one concern. In the test file, viz. |
Oh I see. Makes sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…DUM) (#2891) Signed-off-by: Viraj Jasani <vjasani@apache.org>
…DUM) (#2891) Signed-off-by: Viraj Jasani <vjasani@apache.org>
…DUM) (#2891) Signed-off-by: Viraj Jasani <vjasani@apache.org>
…DUM) (#2891) Signed-off-by: Viraj Jasani <vjasani@apache.org>
…DUM) (apache#2891) Signed-off-by: Viraj Jasani <vjasani@apache.org> (cherry picked from commit d230940) Change-Id: Iddeafed66e35e6f98951e973457c957b35349d8d