hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18094) Display the return value of the command append
Date Tue, 23 May 2017 08:49:04 GMT

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

Ted Yu commented on HBASE-18094:
--------------------------------

{code}
47	        else
48	          puts "No value found at specified coordinates"
{code}
Can the else block be omitted ? If no value is found, we don't output anything.

> Display the return value of the command append
> ----------------------------------------------
>
>                 Key: HBASE-18094
>                 URL: https://issues.apache.org/jira/browse/HBASE-18094
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 2.0.0, 1.3.1
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>         Attachments: HBASE-18094-master-v0.patch
>
>
> It is more convenient for users to display the return result  of the command append.
> {code}
> hbase(main):001:0>  append 't1','r1','f1:name','Guangxu'
> CURRENT VALUE = Guangxu
> Took 0.8820 seconds                                                                 
                                                                                         
              
> hbase(main):002:0>  append 't1','r1','f1:name',' Cheng'
> CURRENT VALUE = Guangxu Cheng
> Took 0.0140 seconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message