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

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

Commit d96dab20dd663dfdcdcd2771d2f210cb02ecd710 in impala's branch 
refs/heads/master from Vincent Tran
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d96dab2 ]

IMPALA-9182: Print the socket address of the client closing a session or 
cancelling a query from the WebUI

This change appends the socket address (HOST:PORT) of the client
who made the request to close a session or cancel a query from
the coordinator's debug WebUI.

Existing statuses:
"Cancelled from Impala's debug web interface"
"Session closed from Impala's debug web interface"

New statuses:
"Cancelled from Impala's debug web interface by client at
 <host>:<port>"
"Session closed from Impala's debug web interface by client
 at <host>:<port>"

Testing:
-Verified visually that the status message is printed in the impalad
 log with the socket address when one cancels a query or closes a session.
-Added a new e2e test to verify that the new status gets printed in
 runtime profile and coordinator log when a query is cancelled in this
 way.
-Made log asserts more robust by adding a timeout/wait value.

Change-Id: Icf74ad06ce1c40fab4ce37de6b7ca78e3e520b43
Reviewed-on: http://gerrit.cloudera.org:8080/14782
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Print the socket address of the client closing a session or cancelling a 
> query from the WebUI
> ---------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9182
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9182
>             Project: IMPALA
>          Issue Type: Improvement
>    Affects Versions: Impala 3.3.0
>            Reporter: Vincent Tran
>            Assignee: Vincent Tran
>            Priority: Minor
>
> When an agent cancels a query or closes a session via the Impalad's debug web 
> UI, we generate these statuses, respectively:
>  
> {noformat}
> Cancelled from Impala's debug web interface
> Session closed from Impala's debug web interface
> {noformat}
> To improve observability, we can print the socket address of the client 
> making the request to the status:
>  
> {noformat}
> Cancelled from Impala's debug web interface by client at <host>:<port>
> Session closed from Impala's debug web interface by client at <host>:<port>
> {noformat}
>  
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to