How to insert on-fly query data to HBase using Hive <p>I am new in Hbase and Hive. Can someone please explain me how to insert data into Hbase using Hive?</p> <p>I found a lot of information regarding to this, but all of them are talking about exactly the same thing. In other words, they are inserting into Hbase table from another already existing table.</p> <p>In my case it is different. I have an application which reads some data from users and sends to the server and incoming data needs to be written in Hbase table. How can I do that?</p> <p>Here is my table:</p> <pre><code>CREATE TABLE hive_table (key INT, username STRING, password STRING, address STRING) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES('hbase.columns.mapping'=':key, user:val') TBLPROPERTIES('hbase.table.name'='hbase_table'); </code></pre> <p>How can I insert following record to my Hbase table which is hbase_table using Hive:</p> <p><code>key=123, username='something', password='pass', address='somewhere';</code></p> <p>Thanks a lot!</p>