How to put values inside multiple column families in hbase
<p>I am looking for a hbase put command that can insert values into multiple column families for a same rowkey in hbase table </p>

<p>Let's say I have a hbase table named <strong>'emp'</strong> with two column families such as <strong>'personal'</strong> and <strong>'educational'</strong></p>

<p>I am applying the below command . It throws some syntax error </p>

<pre><code>put 'emp' ,'100', 'personal:name', 'SURENDER', 'educational:degree', 'BTECH'

ERROR: no method 'add' for arguments (org.jruby.java.proxies.ArrayJavaProxy,org.jruby.java.proxies.ArrayJavaProxy,org.jruby.RubyString,org.jruby.java.proxies.ArrayJavaProxy) on Java::OrgApacheHadoopHbaseClient::Put
</code></pre>

<p>However if try  separate put commands for each column family then it works </p>

<pre><code>put 'emp', '100' ,'personal:name', 'SURENDER'
put 'emp', '100', 'educational:degree', 'BTECH'
</code></pre>

<p>Could anybody tell me what went wrong  when I try to apply put command for 2 column families?</p>