We do that.  For the most part, it is easy.  Bytes.toBytes works for most of the data types if you are using the UNSIGNED_* variety.  If not, we were using the API for the Phoenix Data types.  I don't know about salting specifically. 

Also, i believe that Phoenix now has an OutputFormat in the latest version that might help.


On Sun, Jan 11, 2015 at 12:34 PM, Pariksheet Barapatre <pbarapatre@gmail.com> wrote:
Hello All,

New year greetings..!!!

My question as follow -

How to create Phoenix Salted table  equivalent HFile using MapReduce.

As per my understanding we can create HFile by specifying
HFileOutputFormat.configureIncrementalLoad(job, hTable);

What would be the way to create  salt and generate phoenix equivalent rowkey and values.