Uh oh!
There was an error while loading. Please reload this page.
HBASE-27201 Clean up error-prone findings in hbase-backup - #4643
Conversation
Apache-HBase
commented
Jul 23, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 23, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 23, 2022
🎊 +1 overall
This message was automatically generated. |
| return null; | ||
| } | ||
| return new String(val).split(","); | ||
| return new String(val, StandardCharsets.UTF_8).split(","); |
Uh oh!
There was an error while loading. Please reload this page.
| String[] parts = rowStr.split(BLK_LD_DELIM); | ||
| return parts[1]; | ||
| // format is bulk : namespace : table : region : file | ||
| Iterator<String> i = Splitter.onPattern(BLK_LD_DELIM).split(rowStr).iterator(); |
There was a problem hiding this comment.
return Iterators.get(Splitter.on(BLK_LD_DELIM).split(rowStr).iterator(), 1);
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| private long getTimestamp(String backupId) { | ||
| String[] split = backupId.split("_"); | ||
| return Long.parseLong(split[1]); | ||
| Iterator<String> i = Splitter.on('_').split(backupId).iterator(); |
There was a problem hiding this comment.
I see this as recurring feedback, got it. Will apply this pattern to these things. There are other cases in other modules where the same change is appropriate.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| e.printStackTrace(); | ||
| } | ||
| // XXX Why do we need this sleep? | ||
| Thread.sleep(100); |
There was a problem hiding this comment.
10ms is really short dont' you think? But it's fair that this patch shouldn't try to do more, will change it back.
apurtell
commented
Jul 25, 2022
Rebase. Address review feedback. |
Apache-HBase
commented
Jul 25, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 25, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 25, 2022
💔 -1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
apurtell
commented
Jul 26, 2022
Rebase. More review feedback. Fix test. |
Apache-HBase
commented
Jul 26, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 26, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 26, 2022
🎊 +1 overall
This message was automatically generated. |
apurtell
commented
Jul 27, 2022
@Apache9 Planning to merge this tomorrow unless further comment. |
Apache-HBase
commented
Aug 6, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 6, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 6, 2022
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
No description provided.