Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
Description
When using the Thrift2 server and API and calling createTable passing in split keys, the API call always fails.
Using HBase 2.2.0, Thrift2 (Non Blocking) server with Framed, Compact protocol.
Client: generated from hbase.thrift 2 using "netcore" for .Net core api.
To reproduce, create a new table with the Thrift2 client passing in an array of split keys to pre-split the table, on the server side. The call will fail saying duplicate split keys have been passed to the API call, however the duplicate keys it quotes look like parts of the binary API function call.
It looks like the deserialization of the thrift API call is broken when passing split keys and parts of the thrift2 API call overflow into the keys parameters.
This also seems to be a similar issue when passing in the Attributes on the HTable descriptor too. When passing a Dictionary of table attributes to the create table call, they seem garbled when viewing the meta data via the HBASE master web API.