Category : Hadoop | Sub Category : Apache HBase | By Prasad Bonam Last updated: 2020-10-17 14:35:29 Viewed : 521
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: