Created 09-13-2017 09:06 PM
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.
Created 09-14-2017 06:12 PM
Can you take a look at:
http://hbase.apache.org/book.html#_writing_hfiles_directly_during_bulk_import
which points to:
Created 09-14-2017 08:13 PM
I get an empty Hfile created from the csv it takes as an input..
Created 09-14-2017 08:16 PM
Can you take a look at
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java
getNewWriter() shows you how to create StoreFile.Writer
Created 09-14-2017 08:42 PM
May I know the dependency library for that
Created 09-14-2017 08:58 PM
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.
Created 09-14-2017 09:22 PM
I am working on it. Thank you Ted!!
Created 09-19-2017 09:01 PM
Any idea how to give Hfile as an input to Hbase table
Created 09-19-2017 09:04 PM
hfile can be loaded thru bulk load.
Created 09-19-2017 09:08 PM
bulkload is again using Java API or Do we have any jars that can simply take an Hfile and table through command line and create the table
Created 09-19-2017 09:10 PM
Please take a look at
Created 09-19-2017 11:04 PM
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
Created 09-19-2017 11:06 PM
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