[jira] [Commented] (IMPALA-12874) Identify Catalog HA and StateStore HA from the web debug endpoint

2024-04-22 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839691#comment-17839691
 ] 

ASF subversion and git services commented on IMPALA-12874:
--

Commit 6c738bc3fe9d765254b45d62c859275eaaa16a0f in impala's branch 
refs/heads/branch-4.4.0 from Yida Wu
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=6c738bc3f ]

IMPALA-12874: Identify active and standby catalog and statestore in the web 
debug endpoint

This patch adds support to display the HA status of catalog and
statestore on the root web page. The status will be presented
as "Catalog Status: Active" or "Statestore Status: Standby"
based on the values retrieved from the metrics
catalogd-server.active-status and statestore.active-status.

If the catalog or statestore is standalone, it will show active as
the status, which is same as the metric.

Tests:
Ran core tests.
Manually tests the web page, and verified the status display is
correct. Also checked the situation when the failover happens,
the current 'standby' status can be changed to 'active'.

Change-Id: Ie9435ba7a9549ea56f9d080a9315aecbcc630cd2
Reviewed-on: http://gerrit.cloudera.org:8080/21294
Reviewed-by: Impala Public Jenkins 
Tested-by: Impala Public Jenkins 


> Identify Catalog HA and StateStore HA from the web debug endpoint
> -
>
> Key: IMPALA-12874
> URL: https://issues.apache.org/jira/browse/IMPALA-12874
> Project: IMPALA
>  Issue Type: Improvement
>  Components: Backend
>Reporter: gaurav singh
>Assignee: Yida Wu
>Priority: Major
> Fix For: Impala 4.4.0
>
>
> Identify which Catalog and Statestore instance is active from the web debug 
> endpoint.
> For the HA, we should improve the label on catalog and statestore web 
> response to indicate "Active" instance.
> On the main page we could indicate "Status: Active" or "Status: Stand-by". We 
> could probably add the status at the top of the main page before *"Version"* 
> .  The current details as output of a curl request on port 25020:
> {code:java}
>   Version
>   catalogd version 4.0.0.2024.0.18.0-61 RELEASE (build 
> 82901f3f83fa4c25b318ebf825a1505d89209356)
> Built on Fri Mar  1 20:13:09 UTC 2024
> Build Flags: is_ndebug=true  cmake_build_type=RELEASE  
> library_link_type=STATIC  
> 
>   Process Start Time
> ..
> {code}
> Corresponding curl request on statestored on 25010:
> {code:java}
>   Version
>   statestored version 4.0.0.2024.0.18.0-61 RELEASE 
> (build 82901f3f83fa4c25b318ebf825a1505d89209356)
> Built on Fri Mar  1 20:13:09 UTC 2024
> Build Flags: is_ndebug=true  cmake_build_type=RELEASE  
> library_link_type=STATIC  
> 
>   Process Start Time
> {code}
> Catalogd active status can be figured out using the catalogd metric: 
> "catalog-server.active-status"
> Statestored active status we probably don't have a metric so should add a 
> similar metric and use that to determine status. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Commented] (IMPALA-12874) Identify Catalog HA and StateStore HA from the web debug endpoint

2024-04-18 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838797#comment-17838797
 ] 

ASF subversion and git services commented on IMPALA-12874:
--

Commit cc4d0a58ead986dbbc8db7c95e52399f34bd9072 in impala's branch 
refs/heads/master from Yida Wu
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=cc4d0a58e ]

IMPALA-12874: Identify active and standby catalog and statestore in the web 
debug endpoint

This patch adds support to display the HA status of catalog and
statestore on the root web page. The status will be presented
as "Catalog Status: Active" or "Statestore Status: Standby"
based on the values retrieved from the metrics
catalogd-server.active-status and statestore.active-status.

If the catalog or statestore is standalone, it will show active as
the status, which is same as the metric.

Tests:
Ran core tests.
Manually tests the web page, and verified the status display is
correct. Also checked the situation when the failover happens,
the current 'standby' status can be changed to 'active'.

Change-Id: Ie9435ba7a9549ea56f9d080a9315aecbcc630cd2
Reviewed-on: http://gerrit.cloudera.org:8080/21294
Reviewed-by: Impala Public Jenkins 
Tested-by: Impala Public Jenkins 


> Identify Catalog HA and StateStore HA from the web debug endpoint
> -
>
> Key: IMPALA-12874
> URL: https://issues.apache.org/jira/browse/IMPALA-12874
> Project: IMPALA
>  Issue Type: Improvement
>  Components: Backend
>Reporter: gaurav singh
>Assignee: Yida Wu
>Priority: Major
> Fix For: Impala 4.4.0
>
>
> Identify which Catalog and Statestore instance is active from the web debug 
> endpoint.
> For the HA, we should improve the label on catalog and statestore web 
> response to indicate "Active" instance.
> On the main page we could indicate "Status: Active" or "Status: Stand-by". We 
> could probably add the status at the top of the main page before *"Version"* 
> .  The current details as output of a curl request on port 25020:
> {code:java}
>   Version
>   catalogd version 4.0.0.2024.0.18.0-61 RELEASE (build 
> 82901f3f83fa4c25b318ebf825a1505d89209356)
> Built on Fri Mar  1 20:13:09 UTC 2024
> Build Flags: is_ndebug=true  cmake_build_type=RELEASE  
> library_link_type=STATIC  
> 
>   Process Start Time
> ..
> {code}
> Corresponding curl request on statestored on 25010:
> {code:java}
>   Version
>   statestored version 4.0.0.2024.0.18.0-61 RELEASE 
> (build 82901f3f83fa4c25b318ebf825a1505d89209356)
> Built on Fri Mar  1 20:13:09 UTC 2024
> Build Flags: is_ndebug=true  cmake_build_type=RELEASE  
> library_link_type=STATIC  
> 
>   Process Start Time
> {code}
> Catalogd active status can be figured out using the catalogd metric: 
> "catalog-server.active-status"
> Statestored active status we probably don't have a metric so should add a 
> similar metric and use that to determine status. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Commented] (IMPALA-12874) Identify Catalog HA and StateStore HA from the web debug endpoint

2024-03-05 Thread Wenzhe Zhou (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823761#comment-17823761
 ] 

Wenzhe Zhou commented on IMPALA-12874:
--

Active status of statestore is set in metric "statestore.active-status" on 
statestore web page.

> Identify Catalog HA and StateStore HA from the web debug endpoint
> -
>
> Key: IMPALA-12874
> URL: https://issues.apache.org/jira/browse/IMPALA-12874
> Project: IMPALA
>  Issue Type: Improvement
>  Components: Backend
>Reporter: gaurav singh
>Assignee: gaurav singh
>Priority: Major
>
> Identify which Catalog and Statestore instance is active from the web debug 
> endpoint.
> For the HA, we should improve the label on catalog and statestore web 
> response to indicate "Active" instance.
> On the main page we could indicate "Status: Active" or "Status: Stand-by". We 
> could probably add the status at the top of the main page before *"Version"* 
> .  The current details as output of a curl request on port 25020:
> {code:java}
>   Version
>   catalogd version 4.0.0.2024.0.18.0-61 RELEASE (build 
> 82901f3f83fa4c25b318ebf825a1505d89209356)
> Built on Fri Mar  1 20:13:09 UTC 2024
> Build Flags: is_ndebug=true  cmake_build_type=RELEASE  
> library_link_type=STATIC  
> 
>   Process Start Time
> ..
> {code}
> Corresponding curl request on statestored on 25010:
> {code:java}
>   Version
>   statestored version 4.0.0.2024.0.18.0-61 RELEASE 
> (build 82901f3f83fa4c25b318ebf825a1505d89209356)
> Built on Fri Mar  1 20:13:09 UTC 2024
> Build Flags: is_ndebug=true  cmake_build_type=RELEASE  
> library_link_type=STATIC  
> 
>   Process Start Time
> {code}
> Catalogd active status can be figured out using the catalogd metric: 
> "catalog-server.active-status"
> Statestored active status we probably don't have a metric so should add a 
> similar metric and use that to determine status. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org