[
https://issues.apache.org/jira/browse/HBASE-18094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021317#comment-16021317
]
Chia-Ping Tsai commented on HBASE-18094:
----------------------------------------
{code}
47 else
48 puts "No value found at specified coordinates"
{code}
Are you inspired by Increment ? [~andrewcheng]
{code}
if cnt = table._incr_internal(row, column, value, args)
puts "COUNTER VALUE = #{cnt}"
else
puts "No counter found at specified coordinates"
end
{code}
The Increment outputs something when no value is found. It seems to me that we
should keep the consistent logic of output for Increment and Append.
[[email protected]] Any suggestions? Thanks.
> 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-branch-1.patch, HBASE-18094-master-v0.patch,
> HBASE-18094-master-v1.patch, HBASE-18094-master-v2.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)