Skip to content

paschalis-mpeis/HBase-Bulk-Load-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Map Reduce Example for:

http://hbase.apache.org/book.html#arch.bulk.load

0 ) Include all libraries from lib/

1 ) Export project's JAR to bulk.jar

2 ) Copy file1.txt to hdfs

3 ) Create table using: create '<tablename>', {NAME=>'m'}

4 ) Run the JAR file using: hadoop jar $HBASE_HOME/bulk.jar com.cloudera.examples.hbase.bulkimport.Driver <hdfsDirectory>/file1.txt \ <hdfsDirectory>/<outputname>/ <tablename>

and change <hdfsdirectory>, <outputfilename>, and <tablename> accordingly

5 ) Modify MapReduce job for your needs

About

HBase Bulk Load Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages