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)

Thanks,
Sergey

On Wed, Apr 4, 2018 at 7:56 AM, Noe Detore <ndet...@minerkasch.com> 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?
>

Reply via email to