Key in Hbase Table

Hadoop Eco System Forums Hadoop Discussion Forum Key in Hbase Table

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Siva Siva 5 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1654 Reply
    Profile photo of Subramaniyabharathi

    Dear all,
    I dont have any extra column in my csv file(which i need to load into hbase table). But hbase is asking for key. How to solve this?

    #1686 Reply
    Profile photo of Siva

    This can be solved with the help of auto increment column in Hive table and using the same column as key in specifying below syntax

    CREATE TABLE test(key int, ….)
    WITH SERDEPROPERTIES (“hbase.columns.mapping” = “:key,….)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Key in Hbase Table
Your information: