-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-28187 NPE when flushing a non-existing column family #5553
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
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
…th delete markers (apache#5522)" This reverts commit ce9eabe.
…he#5554) Revert "HBASE-12819 ExportSnapshot doesn't close FileSystem instances" This reverts commit ee32eeb Signed-off-by: Wellington Chevreuil <[email protected]>
We added a new field in Procedure so the json output is also changed thus we need to change the assertion
|
Looking at the jira description, I think we should add the check at master side? We should reject the request at very beginning. |
…ushRegionProcedure (apache#5548) Co-authored-by: lvhaiping.lhp <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
…5520) Signed-off-by: Yu Li <[email protected]>
apache#5528) Signed-off-by: Wellington Chevreuil <[email protected]>
This can only partially solve the problem. There is a scenario, the problem is still exists.
For example: @Override
public void prePut(ObserverContext<RegionCoprocessorEnvironment> c, Put put, WALEdit edit) throws IOException {
HRegion region = (HRegion) c.getEnvironment().getRegion()
region.flushcache(Arrays.asList("non-family".getBytes()), false, FlushLifeCycleTracker.DUMMY);
} |
|
In this PR, I set the result of flush with non-existing family to successful. Mybe we can set the result of flush with non-existing family to |
|
For user request from Admin interface or shell, I think we should reject the request and give users a clear error message, this should be done first. On the CP part, I'm neutral on whether we should deal with the problem. CP is a low level API only expected to be used by experts, so it is the CP's author's duty to not break HBase by wrong input. Of course, I think it is also OK to make our code more robust if it does not introduce overhead or complicate logic. But as you said, we still need to discuss how to deal with the problem, at least I do not think returning success is the correct way... |
Signed-off-by: Bryan Beaudreault <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
…tion could lead to ROLLEDBACK state be persisent to procedure store (apache#5567) Signed-off-by: GeorryHuang <[email protected]> Signed-off-by: Yi Mei <[email protected]>
…shot recovery (apache#5570) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Peter Somogyi <[email protected]>
…pache#5507) Signed-off-by: Duo Zhang <[email protected]>
…orts in the hbase script (apache#5571) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Balazs Meszaros <[email protected]>
…rt to jdk11 JVM test flags (apache#5569) Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Balazs Meszaros <[email protected]>
…ache#5560) Fixed the check for an ongoing Snapshot before proceeding with the merge/split region operation. Co-authored-by: lvhaiping.lhp <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Hui Ruan <[email protected]>
… HBASE-28199 (apache#5563) Signed-off-by: Duo Zhang <[email protected]>
Thanks for your repla, I update this PR. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
…witching (apache#5660) Signed-off-by: Duo Zhang <[email protected]>
…apache#5631) Signed-off-by: Bryan Beaudreault <[email protected]>
…esponse size (apache#5654) Signed-off-by: Bryan Beaudreault <[email protected]>
) Signed-off-by: Wellington Chevreuil <[email protected]> Signed-off-by: Balazs Meszaros <[email protected]>
Signed-off-by: Bryan Beaudreault <[email protected]>
…ovider runs with Kerberos instead of Shade authentication (apache#5659) Signed-off-by: Wellington Chevreuil <[email protected]>
Signed-off-by: Bryan Beaudreault <[email protected]>
…pache#5663) Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.6 to 42.0.0. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@41.0.6...42.0.0) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang <[email protected]>
Co-authored-by: Rajeshbabu Chintaguntla <[email protected]>
…ept the first region) starts with delete markers (apache#5675) Signed-off-by: David Manning <[email protected]> Signed-off-by: Viraj Jasani <[email protected]>
…se Region End Key for limiting scan to one region only. (apache#5677) Signed-off-by: Viraj Jasani <[email protected]>
…ry with option to enable Raw Scan (apache#5676) Signed-off-by: David Manning <[email protected]> Signed-off-by: Viraj Jasani <[email protected]>
…pache#5673) Signed-off-by: Bryan Beaudreault <[email protected]> Signed-off-by: Balazs Meszaros <[email protected]>
…apache#5669) Signed-off-by: Balazs Meszaros <[email protected]>
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
@guluo2016 latest code cannot be build with this patch. Please rebase the patch. |
…pache#5687) Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.0 to 42.0.2. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@42.0.0...42.0.2) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang <[email protected]>
…efile has no reader Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Rajeshbabu Chintaguntla <[email protected]>
…to priority ADMIN_QOS (apache#5558) HBASE-28238 rpcservice should perform some important admin operation to priority ADMIN_QOS (apache#5558) Co-authored-by: selina.yan <[email protected]>
…into hbase_flush_issue
|
@chrajeshbabu thanks for your comments, The update has been made in a new PR #5692 |
Details see: HBASE-28187
And even worse, although this flush can be terminated by exception or manually,we are still unable to operate this region because of RegionTooBusyException.