[
https://issues.apache.org/jira/browse/HBASE-13080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333183#comment-14333183
]
Hudson commented on HBASE-13080:
--------------------------------
FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #825 (See
[https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/825/])
HBASE-13080 hbase shell message containing extra quote at the end of error
message (matteo.bertozzi: rev 15b6df53d92ee79d7d9aa0adb85fba6aa7cab933)
* hbase-shell/src/main/ruby/hbase/admin.rb
> Hbase shell message containing extra quote at the end of error message.
> -----------------------------------------------------------------------
>
> Key: HBASE-13080
> URL: https://issues.apache.org/jira/browse/HBASE-13080
> Project: HBase
> Issue Type: Improvement
> Reporter: Abhishek Kumar
> Priority: Trivial
> Fix For: 2.0.0, 1.0.1, 0.98.11
>
> Attachments: 0001-HBASE-13080-remove-extra-quote-typo-V2.patch,
> 0001-HBASE-13080-remove-extra-quote-typo.patch
>
>
> {noformat}
> hbase(main):001:0> drop 't2'
> ERROR: Table t2 is enabled. Disable it first.'
> ---------------------------
> hbase(main):001:0> disable 'noTable'
> ERROR: Table csadfsdfsdf does not exist.'
> {noformat}
> extra quote at the end odf error message seems to be a typo, can be removed
> from below two methods in admin.rb :
> {noformat}
> # Throw exception if table doesn't exist
> def tableExists(table_name)
> raise ArgumentError, "Table #{table_name} does not exist.'" unless
> exists?(table_name)
> end
> ========================
> # Drops a table
> def drop(table_name)
> tableExists(table_name)
> raise ArgumentError, "Table #{table_name} is enabled. Disable it
> first.'" if enabled?(table_name)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)