Uh oh!
There was an error while loading. Please reload this page.
HBASE-25663 Make graceful_stop localhostname compare match even if fqdn and unload regions - #3053
HBASE-25663 Make graceful_stop localhostname compare match even if fqdn and unload regions#3053javierluca wants to merge 3 commits into
Conversation
Apache-HBase
commented
Mar 16, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 16, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 16, 2021
🎊 +1 overall
This message was automatically generated. |
cc @saintstack |
| fi | ||
| unload_hostname="$hostname" | ||
| if [[ "$hostname" -eq "localhost" ]]; then |
There was a problem hiding this comment.
You’ll want to use == here because it’s comparing two strings
Apache-HBase
commented
Mar 16, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 16, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 16, 2021
🎊 +1 overall
This message was automatically generated. |
Mmmh I might have misunderstood the "localhost" mode.
And in Lines 61 to 64 in d74ae15 This is very confusing, because if someone has configured other ports and restart in Let me rethink about a proper solution or just leave the original proposed change #2973 (pushed by @saintstack in this commit 59ec375). So please don't merge this yet (I may close it an open with a new solution). |
javierluca
commented
Mar 16, 2021
Sorry for so many PRs, proceeding here: #3054 |
Previous: #3048
Adding it again because it was revered: c36e40e
And ddressing this issue: #3048 (review) (#3048 (comment))