[
https://issues.apache.org/jira/browse/HBASE-18999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417427#comment-16417427
]
Nihal Jain commented on HBASE-18999:
------------------------------------
This looks good? [~busbey]
{code:java}
hbase(main):007:0> truncate 't1'
Truncating 't1' table (it may take a while):
Disabling table...
Truncating table...
Took 1.3015 seconds
hbase(main):008:0> put 't1', 'row1', {'family1:column1'=>'a value1',
'family2:column2'=>'another value1', 'family2'=>'foobar1'}
Took 0.1174 seconds
hbase(main):009:0> scan 't1'
ROW COLUMN+CELL
row1 column=family1:column1,
timestamp=1522247538896, value=a value1
row1 column=family2:, timestamp=1522247538896,
value=foobar1
row1 column=family2:column2,
timestamp=1522247538896, value=another value1
1 row(s)
Took 0.0098 seconds
hbase(main):010:0>
{code}
> 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)