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.
I tried for finding Hbase-version jar that was mentioned in the link above and I no where find that jar which has completebulkload class..please help
From hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java :
public static final String NAME = "completebulkload";
This class is in hbase-server jar