-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-26284 Add HBase Thrift API to get all table names along with wh… #3693
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
…ether it is enabled or not
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.
LGTM, original issue is hue dropping too many request because it goes through tables one by one to see if they are enabled or not. This could help this issue by having only 1 thrift api call instead of 1+number of user tables.
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
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.
The logic looks good to me, just a small nit comment inline. But it seems there are some undesired files probably committed by mistake in this PR:
- test.txt
- There's a bunch of files auto generated by the thrift compiler, can we also remove those from this PR?
hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Can we also remove the below generated class from the PR?
|
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Saw previous commits having thrift modification included the generated classes as well. This way we won't have the new API in sync with the committed generated code. (Although why have generated code in the first place - I guess we don't want to force everyone to install Thrift?). |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
I believe you're right, @nkalmar , and removing those generated classes is what causing the build failures now. @horvathdora , would you mind put those back, so that the build passes? Sorry for having confused you. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
recheck |
Looks fine for me, all UTs and shaded module builds are passing for me locally. |
rebuild |
apache#3693) Signed-off-by: Norbert Kalmar <nkalmar@cloudera.com> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
apache#3693) (apache#3745) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> (cherry picked from commit 6d0777a)
…ether it is enabled or not