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

John Vines commented on ACCUMULO-330:
-------------------------------------

This isn't as trivial as I thought it would be. This falls on 
ServerClient.executeRaw which is a static utility function for running a 
command on a given node. This function gets a ClientService.Iface to run the 
command, but there is no way to get the server information from it. It gets 
that ClientService.Iface from  ServerClient.getConnection which is what gets a 
list of all servers, and then attempts to grab the IFace with the 
ThriftTransportPoor.getInstance.getAnyTransport call, which gets a connection 
to a 'random' server, but also handles all of the connection caching, etc. The 
only way I currently see to implemented is to split apart a lot of the code in 
ServerClient in order to get back server names. Thoughts?
                
> Security client exception does not include tserver address
> ----------------------------------------------------------
>
>                 Key: ACCUMULO-330
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-330
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Keith Turner
>            Assignee: John Vines
>             Fix For: 1.4.0
>
>
> Noticed this w/ ACCUMULO-328.  When a TAppException occurs on client side the 
> security client code is not including the IP address. The client code related 
> to reading and writing data to cloudbase already does this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to