Writing data in a Table using HBase Shell

Category : Hadoop | Sub Category : Apache HBase | By Runner Dev Last updated: 2020-10-17 20:05:29 Viewed : 195


Writing data in a Table using HBase Shell  

Writing data: 

Using put command, you can insert rows into a table. Its syntax is as follows:

put `<table name>`,`row1`,`<colfamily:colname>`,`<value>` 
 put `runnerdev`,1,`cf:name`,`Krishna`
put `runnerdev`,1,`cf:duration`,`90mins`
put `runnerdev`,1,`cf:course`,`HBase`
 
put `runnerdev`,2,`cf:name`,`Ram`
put `runnerdev`,2,`cf:duration`,`90mins`
put `runnerdev`,2,`cf:course`,`Hadoop`

HBase Hue-View:

Search
Sub-Categories
Related Articles

Leave a Comment: