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

stack commented on HBASE-9136:
------------------------------

Client says what codec it wants to use.  Server replies using the named codec.  
It does this:

this.codec = (Codec)Class.forName(className).newInstance();

Thats how it curently works.  I suppose you could add indirection so that when 
client says KeyValueCodec, server instantiates ServerSideKeyValueCodec.  
Mapping could be done in Configuration (there is a Configuration instance in 
the RpcServer context).
                
> RPC side changes to have a different codec for server to client communication
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-9136
>                 URL: https://issues.apache.org/jira/browse/HBASE-9136
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.98.0
>
>
> With reference to the mail sent in the dev list,
> http://comments.gmane.org/gmane.comp.java.hadoop.hbase.devel/38984
> We should have a provision such that the codec on the server side could be 
> different from the one on the client side.  This would help to remove the 
> tags for security usecases.  
> This JIRA is aimed to provide that capability in the codec itself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to