phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Soldatov <>
Subject Re: SALT_BUCKETS and Writing
Date Wed, 04 Apr 2018 19:28:18 GMT
Salt is calculated basing on the hash of the row key and number of buckets
on phoenix client side. So it's preferable to use phoenix to write. If you
have to use HBase API because of any reason, you need to perform the same
calculations (copy/paste the code from Phoenix)


On Wed, Apr 4, 2018 at 7:56 AM, Noe Detore <> wrote:

> New to Phoenix, and looking to use "create table.... SALT_BUCKETS=". The
> documentation states "Phoenix provides a way to transparently salt the row
> key with a salting byte". Is this still done when writing to the table via
> hbase api or must write using jdbc via phoenix-client.jar?

View raw message