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

Viraj Jasani commented on HBASE-25914:
--------------------------------------

Thanks [~stack]. The reason why Name Queue log tab is because it is a generic 
in-memory queue retrieval API name. Such tag already exists in master UI too 
(thanks to [~GeorryHuang]'s efforts), which contains two sub-tabs: 
BalancerDecision and BalancerRejection. Both are in-memory queue implementation 
maintained by master.

 

Generic Admin API for all queues maintained by both HMaster and RegionServer:
{code:java}
/**
 * Retrieve recent online records from HMaster / RegionServers.
 * Examples include slow/large RPC logs, balancer decisions by master.
 *
 * @param serverNames servers to retrieve records from, useful in case of 
records maintained
 *   by RegionServer as we can select specific server. In case of 
servertype=MASTER, logs will
 *   only come from the currently active master.
 * @param logType string representing type of log records
 * @param serverType enum for server type: HMaster or RegionServer
 * @param limit put a limit to list of records that server should send in 
response
 * @param filterParams additional filter params
 * @return Log entries representing online records from servers
 * @throws IOException if a remote or network exception occurs
 */
List<LogEntry> getLogEntries(Set<ServerName> serverNames, String logType,
  ServerType serverType, int limit, Map<String, Object> filterParams) throws 
IOException;

{code}
{quote}Will the full RPC show in the UI?
{quote}
I think so and hopefully it will be scrollable. [~GeorryHuang] is my assumption 
correct? As API supports limit param, let's have a drop down on UI to limit no 
of recent records in UI?

> Provide slow/large logs on RegionServer UI
> ------------------------------------------
>
>                 Key: HBASE-25914
>                 URL: https://issues.apache.org/jira/browse/HBASE-25914
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver, UI
>    Affects Versions: 3.0.0-alpha-1, 2.5.0
>            Reporter: Zhuoyue Huang
>            Assignee: Zhuoyue Huang
>            Priority: Major
>         Attachments: callDetails.png, largeLog.png, slowLog.png
>
>
> Pulling slow/large log from  in-memory queues on RegionServer then display 
> details info in RegionServer status UI



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to