I am trying to create HFiles from csv using Java and while trying to write Hfile row keys aren't getting appended and I get 0.1 kb hfile with generic Hfile information.
Can you take a look at
getNewWriter() shows you how to create StoreFile.Writer
HFileOutputFormat2 is in hbase-server in hbase 1.1.x
The mvn dependency:tree output for hbase-server is 200 lines long.
You can get the output yourself (for your project). If you encounter problem, let me know.