hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17612) [C++] Set client version info in RPC header
Date Tue, 07 Feb 2017 22:48:41 GMT

    [ 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)

Mime
View raw message