-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-27066 The Region Visualizer display failed #4472
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
Hi @ndimiduk , could you please take a look. Thanks. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
LGTM |
Thanks @GideonPotok for the review. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Thanks @apurtell for your review. |
@@ -29,7 +44,7 @@ limitations under the License. | |||
description: 'Total `storefileSize` per Region Server', | |||
data: { | |||
name: 'region_info', | |||
url: 'http://localhost:16010/api/v1/admin/cluster_metrics/live_servers', |
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.
Not using localhost and a hard-coded port is definitely the right thing, good call. Now I'm wondering if we should show the chart at all on the backup masters, or if it should only be on the active one.
@@ -29,7 +44,7 @@ limitations under the License. | |||
description: 'Total `storefileSize` per Region Server', | |||
data: { | |||
name: 'region_info', | |||
url: 'http://localhost:16010/api/v1/admin/cluster_metrics/live_servers', | |||
url: 'http://<% activeHostname %>:<% activeInfoPort %>/api/v1/admin/cluster_metrics/live_servers', |
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.
We also need to no longer hard-code http
and instead decide the protocol based on the cluster configuration.
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.
That's a good idea.
This reverts commit 5c116d2.
This reverts commit 5c116d2.
This reverts commit 5e54c6d.
This reverts commit 8b9df12.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This reverts commit 5c116d2.
This reverts commit a400a66.
The
Region Visualizer
display failed. Because the active master hostname islocalhost
.Before the change:

After the change:
