-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29454 Update hbase-examples scripts to be compatible with Python 3 #7687
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
base: branch-2
Are you sure you want to change the base?
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
Hi, @guluo2016, maybe we should backport HBASE-25508 for branch-2 first, WDYT? |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
guluo2016
left a comment
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, Thanks!
| for e in range(100, 0, -1): | ||
| # format row keys as "00000" to "00100" | ||
| row = "%0.5d" % (e) | ||
| row = f"{row:05}" |
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.
Should use e instead of row.
guluo2016
left a comment
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.
It seems that the PR of the master also has the same error.
https://github.com/apache/hbase/pull/7161/changes#diff-e15b3229b250eefccf1b45a8c54b9130b3905dabd6aef6d8cfda912bea1bb982R142-R143:~:text=142-,for%20e%20in%20range(100%2C%200%2C%20%2D1,row%20%3D%20f%22%7Brow%3A05%7D%22,-153
Hi, @guluo2016, thanks for your reviewing, branch-2 miss some PRs, before backport HBASE-23644 and HBASE-29457, seems we should backprot HBASE-25508 and HBASE-29454. The errors which you pointed will be fix by HBASE-29457(#7529) and HBASE-23644 (#7530) i think, thanks!!! |
|
For branch-3, first backport HBASE-29454 (#7671) and then HBASE-23644/HBASE-29457 |
|
It is better to create a PR for each issue, and it's better to based on the latest code |
Hi, @guluo2016, thanks for reviewing and kindly suggestions, i'll close this pr and raise one by one for branch-2 if needed, code for branch-3 (apache/hbase#7671) seems that there is no such mixed commit issue, plz take a look when free, thanks! |
|
Hi, @guluo2016, as mentioned above, backport HBASE-25508(#7715) for branch-2 has been created, please help take a look when free, thanks! |
Backport HBASE-29454 for branch-2, which is discussed in HBASE-23644