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

ASF subversion and git services commented on KUDU-3519:
-------------------------------------------------------

Commit 7be030baee38ea971f5e3afddcff4c61cbe2acf3 in kudu's branch 
refs/heads/master from Attila Bukor
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=7be030bae ]

KUDU-3519: List masters in /dump-entities

Tablet servers are already listed on the /dump-entities master endpoint,
but the masters are missing. To allow easily accessing master addresses
and UUIDs in a parsable format, this commit adds the master info as
well.

Change-Id: I92ab8057c5bdae6e8b41afc8f19c0a72cfa329a2
Reviewed-on: http://gerrit.cloudera.org:8080/20628
Reviewed-by: Marton Greber <[email protected]>
Tested-by: Kudu Jenkins
Reviewed-by: Wang Xixu <[email protected]>
Reviewed-by: Abhishek Chennaka <[email protected]>


> list of masters in "/dump-entites" endpoint
> -------------------------------------------
>
>                 Key: KUDU-3519
>                 URL: https://issues.apache.org/jira/browse/KUDU-3519
>             Project: Kudu
>          Issue Type: Improvement
>            Reporter: Gabor Zele
>            Assignee: Attila Bukor
>            Priority: Major
>
> I'm gathering all kudu metrics for analytics by using the "/metrics" endpoins 
> on all master/tablet servers. I'm getting the list of tablet-servers by 
> querying "/dump-entites" on a master server.
> "/dump-entites" has top level key for "tablet_servers", but it doesn't 
> contain any information about the other masters. For this, I have to maintain 
> a list of master http adresses and server UUIDs in my solution, and update it 
> there are changes to the masters.
> If the information would be available here, knowing the http address of any 
> working master would give me the list of configured masters, which I could 
> contact for metrics and save for future use.
> (https://github.com/apache/kudu/blob/master/src/kudu/master/master_path_handlers.cc#L777)
> This Jira is a request to add a key like "master_servers"  to the 
> "/dump-entites" endpoint with the information about the other masters, like 
> we have now in "tablet_servers" for the tablet servers.



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

Reply via email to