Search code examples
javahadoopentityhbasepersist

Persist entity nosql (hadoop/hbase/hive)


I'm new to hadoop and I want to persist an entity to a nosql database in my case is Hbase using hiveQL! I did all the configuration related to hadoop , hbase,hive and everything works fine using the shell Now I'm trying to implement a class that allows me to persist an entity to hbase (CRUD operations) So how can I define the database schema , which data base driver can I use! and if there is any other configuration should I put in my program!

Thanks


Solution

  • I had a pretty hard time trying to understand your question, so my answer is going to be very generic.

    You should start by reading a few HBase books:

    You've got good JAVA examples for almost anything you need on Lars' repo:

    In case you want to use HIVE you should start by reading this: