-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-25356 HBaseAdmin#getRegion() needs to filter out non-regionName… #2759
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. |
|
checking the client error at my local machine now. |
|
🎊 +1 overall
This message was automatically generated. |
|
My local run of hbase-client tests passed so I think it is transient env issue in the test machine. |
hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
Show resolved
Hide resolved
| } | ||
|
|
||
| private boolean isHexChar(char c) { | ||
| return (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f') || (c >= '0' && c <= '9'); |
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.
There is Bytes.isHexDigit. It is missing (c >= 'a' && c <= 'f'). Bytes might be better place for this than here?
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.
I tried poking around.. you'd think this sort of thing would be available in a lib... but I couldn't find an easy ref after looking for 5 mins.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Outdated
Show resolved
Hide resolved
|
You going to put up new changes @huaxiangsun ? |
Yeah, I am going to put up a new patch. |
… and non-encodedRegionName
b67ccf5 to
0f2ed94
Compare
|
A new patch is uploaded. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
… and non-encodedRegionName (apache#2759) Signed-off-by: stack <stack@apache.org>
… and non-encodedRegionName (apache#2759) Signed-off-by: stack <stack@apache.org>
… and non-encodedRegionName