You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/02/07 22:48:41 UTC

[jira] [Commented] (HBASE-17612) [C++] Set client version info in RPC header

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

stack commented on HBASE-17612:
-------------------------------

We do this already [~enis] or we don't do it enough?

See VersionInfo field in ConnectionHeader...

// This is sent on connection setup after the connection preamble is sent.
message ConnectionHeader {
  optional UserInformation user_info = 1;
  optional string service_name = 2;
  // Cell block codec we will use sending over optional cell blocks.  Server throws exception
  // if cannot deal.  Null means no codec'ing going on so we are pb all the time (SLOW!!!)
  optional string cell_block_codec_class = 3;
  // Compressor we will use if cell block is compressed.  Server will throw exception if not supported.
  // Class must implement hadoop's CompressionCodec Interface.  Can't compress if no codec.
  optional string cell_block_compressor_class = 4;
  optional VersionInfo version_info = 5;
  // the transformation for rpc AES encryption with Apache Commons Crypto
  optional string rpc_crypto_cipher_transformation = 6;
}

> [C++] Set client version info in RPC header
> -------------------------------------------
>
>                 Key: HBASE-17612
>                 URL: https://issues.apache.org/jira/browse/HBASE-17612
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>
> We need to set the RPC header version info in the RPC Header to use the KVCodec in get path. 
> This is needed after HBASE-13158 (and a couple others where they check the client version). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)