If you want to use Phoenix, please use Phoenix APIs to read and write
the data.
You are wholly responsible for understanding how to correctly write the
data given Phoenix's schema if you bypass it.
On 12/13/17 9:25 AM, Oussama BEN BACCAR wrote:
Hello Phoenixers,
I have a rowkey issue when i salt a phoenix table and insert data directly
from hbase.
Here is the scenario:
1- Create a table on phoenix with salt_buckets=16
2- The data is inserted in the hbase table by a storm hbase bolt. The
hbasebolt insert data directly in hbase without passing by phoenix.
The problem is the phoenix rowkey always missing the first character
compared to thehbase rowkey, when i run a select query on phoenix
*Example:*
*- hbase rowkey: 1f05d01f-6a17-4d7b-8d97-df32d8856666*
*- phoenix rowkey: f05d01f-6a17-4d7b-8d97-df32d8856666*
I look forward getting a response guys. Thank you in advance.
Kind regards,