Uh oh!
There was an error while loading. Please reload this page.
HBASE-26867 Introduce a FlushProcedure - #5353
Conversation
Apache-HBase
commented
Aug 16, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 16, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 16, 2023
🎊 +1 overall
This message was automatically generated. |
| // the hbase hadoop version does not match the running hadoop version or | ||
| // the FlushTableProcedure is disabled, if that happens, we need fall back | ||
| // to the old flush implementation. | ||
| legacyFlush(tableName, columnFamilies); |
There was a problem hiding this comment.
So when users call flushAsync directly, we can not fallback to legacyFlush automatically?
Apache9
commented
Aug 22, 2023
@frostruan Any updates here? Thanks. |
frostruan
commented
Aug 22, 2023
Sorry, Duo, I don't know what I should update here. If you mean the problem that the legacyFlush method can not fallback, I have already replied and explained my thoughts, would you mind looking it first? :) |
Apache9
commented
Aug 22, 2023
I can not see your reply, maybe you forget to push the submit button? |
frostruan
commented
Aug 22, 2023
oh sorry ... have no idea what went wrong, so let me copy the reply here. Yes. From the perspective of fallback, it's better to make |
Apache9
commented
Aug 22, 2023
XXXAsync methods are common in the Admin interface so we should provide it. And how could our users handle the unsupported exception in upper layer? We do not expose the legacyFlush method to them, they can only retry on the same method and then get the same exception again? |
frostruan
commented
Aug 22, 2023
Our user can fallback to the old flush implementation by calling flush method. If our users really need asynchronous calls, maybe we can suggest them to consider AsyncHBaseAdmin#flush API in the doc. Do you think it is necessary for us to implement fallback logic in the HBaseAdmin#flushAsync method? |
Apache9
commented
Aug 22, 2023
It will be confusing to users that flush and flushAsync are different. We should support the fallback logic also in flushAsync. |
frostruan
commented
Aug 22, 2023
Ok. Let me fix this. Thanks Duo. |
Apache-HBase
commented
Aug 23, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 23, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 23, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 23, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 23, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 23, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 24, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 24, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 24, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 25, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 25, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 25, 2023
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Aug 27, 2023
Please fix the spotless error? Thanks. |
frostruan
commented
Aug 27, 2023
Yes, I am working on fixing this problem. I executed the mvn spotless:apply before the last three commits, and this patch does not involve the problematic file. A bit strange .... let me dig more :) |
Apache9
commented
Aug 27, 2023
Maybe it is because others merged a PR without fixing all the spotless issues... |
frostruan
commented
Aug 27, 2023
Very possible. Let me check the git log. |
3540597 to
b722b2bCompareApache-HBase
commented
Aug 27, 2023
💔 -1 overall
This message was automatically generated. |
frostruan
commented
Aug 27, 2023
sorry Duo, I don't know how to fix this problem .... would you mind helping me to see how to solve it ? Thanks. |
Apache-HBase
commented
Aug 27, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 27, 2023
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Aug 28, 2023
It's OK now. The spotless result after this PR is OK. The problem is on branch-2 itself. Let me merge. |
No description provided.