[
https://issues.apache.org/jira/browse/THRIFT-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992526#comment-12992526
]
Devaraj Das commented on THRIFT-1053:
-------------------------------------
Guys, is making a 0.5.1 release with this patch a possibility? That will be of
immense help. I see the need for getting the remote client's IP address in Hive
in some places other than just logging. If a release is made with this patch,
it would be easy to adopt that in Hive since Hive currently has 0.5.
> Make remote client's IP address available for all socket related transports
> ---------------------------------------------------------------------------
>
> Key: THRIFT-1053
> URL: https://issues.apache.org/jira/browse/THRIFT-1053
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Library
> Reporter: Devaraj Das
> Fix For: 0.7
>
> Attachments: 1053.patch
>
>
> I have a requirement where I want to inspect a remote client's IP address
> when it talks to the server over the Sasl transport. If the transport is
> TSocket, I could do the following in my implementation of
> TProcessor.process(TProtocol inProt, TProtocol outProt):
> ((TSocket)inProt.getTransport()).getSocket().getInetAddress()
> I need a similar functionality for the Sasl transport as well.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira