[ 
https://issues.apache.org/jira/browse/HBASE-18999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417125#comment-16417125
 ] 

nihal jain commented on HBASE-18999:
------------------------------------

Hi,

I would like to work on this JIRA. I have made some code changes and based on 
this I am getting the following output.
{code:java}
hbase(main):001:0> create 't1', 'family1', 'family2'
Created table t1
Took 1.0906 seconds                                                             
                                                               
hbase(main):002:0> put 't1', 'row1', ['family1:column1=>a value', 
'family2:column2=>another value', 'family2=>foobar']
Took 0.1883 seconds                                                             
                                                               
hbase(main):003:0> scan 't1'
ROW                                  COLUMN+CELL                                
                                                               
 row1                                column=family1:column1, 
timestamp=1522231253413, value=a value                                          
  
 row1                                column=family2:, timestamp=1522231253413, 
value=foobar                                                    
 row1                                column=family2:column2, 
timestamp=1522231253413, value=another value                                    
  
1 row(s)
Took 0.0346 seconds                                                             
                                                               
hbase(main):004:0>
{code}
If the changes look fine, I will attach a patch for the same.

> Put in hbase shell cannot do multiple columns
> ---------------------------------------------
>
>                 Key: HBASE-18999
>                 URL: https://issues.apache.org/jira/browse/HBASE-18999
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.0.0, 2.0.0
>            Reporter: Mike Drob
>            Priority: Major
>
> A {{Put}} can carry multiple cells, but doing so in the shell is very 
> difficult to construct. We should make this easier.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to