You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2015/02/23 10:45:49 UTC

[1/4] hbase git commit: HBASE-13080 hbase shell message containing extra quote at the end of error message

Repository: hbase
Updated Branches:
  refs/heads/0.98 137d5e62d -> 15b6df53d
  refs/heads/branch-1 28f4b8d07 -> f67301403
  refs/heads/branch-1.0 f4e0c7be6 -> 8ae9ef984
  refs/heads/master 78da65c41 -> 6a4bca86e


HBASE-13080 hbase shell message containing extra quote at the end of error message

Signed-off-by: Matteo Bertozzi <ma...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6a4bca86
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6a4bca86
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6a4bca86

Branch: refs/heads/master
Commit: 6a4bca86e2b4dba2140f9886a6d4e9b59916a5a7
Parents: 78da65c
Author: Abhishek Kumar <ab...@huawei.com>
Authored: Sun Feb 22 22:56:47 2015 +0530
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Mon Feb 23 10:29:43 2015 +0100

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/6a4bca86/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 445a390..f8ab36e 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -168,7 +168,7 @@ module Hbase
     #---------------------------------------------------------------------------------------------
     # Throw exception if table doesn't exist
     def tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} does not exist.'" unless exists?(table_name)
+      raise ArgumentError, "Table #{table_name} does not exist." unless exists?(table_name)
     end
 
     #----------------------------------------------------------------------------------------------
@@ -181,7 +181,7 @@ module Hbase
     # Drops a table
     def drop(table_name)
       tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} is enabled. Disable it first.'" if enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is enabled. Disable it first." if enabled?(table_name)
 
       @admin.deleteTable(org.apache.hadoop.hbase.TableName.valueOf(table_name))
     end
@@ -372,7 +372,7 @@ module Hbase
     # Truncates table (deletes all records by recreating the table)
     def truncate(table_name, conf = @conf)
       table_description = @admin.getTableDescriptor(TableName.valueOf(table_name))
-      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first.'" unless enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first." unless enabled?(table_name)
       yield 'Disabling table...' if block_given?
       @admin.disableTable(table_name)
 


[2/4] hbase git commit: HBASE-13080 hbase shell message containing extra quote at the end of error message

Posted by mb...@apache.org.
HBASE-13080 hbase shell message containing extra quote at the end of error message

Signed-off-by: Matteo Bertozzi <ma...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f6730140
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f6730140
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f6730140

Branch: refs/heads/branch-1
Commit: f67301403d503aa48ec29b11ca18c6714b51ab30
Parents: 28f4b8d
Author: Abhishek Kumar <ab...@huawei.com>
Authored: Sun Feb 22 22:56:47 2015 +0530
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Mon Feb 23 10:30:34 2015 +0100

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f6730140/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 445a390..f8ab36e 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -168,7 +168,7 @@ module Hbase
     #---------------------------------------------------------------------------------------------
     # Throw exception if table doesn't exist
     def tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} does not exist.'" unless exists?(table_name)
+      raise ArgumentError, "Table #{table_name} does not exist." unless exists?(table_name)
     end
 
     #----------------------------------------------------------------------------------------------
@@ -181,7 +181,7 @@ module Hbase
     # Drops a table
     def drop(table_name)
       tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} is enabled. Disable it first.'" if enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is enabled. Disable it first." if enabled?(table_name)
 
       @admin.deleteTable(org.apache.hadoop.hbase.TableName.valueOf(table_name))
     end
@@ -372,7 +372,7 @@ module Hbase
     # Truncates table (deletes all records by recreating the table)
     def truncate(table_name, conf = @conf)
       table_description = @admin.getTableDescriptor(TableName.valueOf(table_name))
-      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first.'" unless enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first." unless enabled?(table_name)
       yield 'Disabling table...' if block_given?
       @admin.disableTable(table_name)
 


[3/4] hbase git commit: HBASE-13080 hbase shell message containing extra quote at the end of error message

Posted by mb...@apache.org.
HBASE-13080 hbase shell message containing extra quote at the end of error message

Signed-off-by: Matteo Bertozzi <ma...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8ae9ef98
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8ae9ef98
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8ae9ef98

Branch: refs/heads/branch-1.0
Commit: 8ae9ef9847b8f5ea4766d810ff9c84961c3009c0
Parents: f4e0c7b
Author: Abhishek Kumar <ab...@huawei.com>
Authored: Sun Feb 22 22:56:47 2015 +0530
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Mon Feb 23 10:30:46 2015 +0100

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8ae9ef98/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 445a390..f8ab36e 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -168,7 +168,7 @@ module Hbase
     #---------------------------------------------------------------------------------------------
     # Throw exception if table doesn't exist
     def tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} does not exist.'" unless exists?(table_name)
+      raise ArgumentError, "Table #{table_name} does not exist." unless exists?(table_name)
     end
 
     #----------------------------------------------------------------------------------------------
@@ -181,7 +181,7 @@ module Hbase
     # Drops a table
     def drop(table_name)
       tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} is enabled. Disable it first.'" if enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is enabled. Disable it first." if enabled?(table_name)
 
       @admin.deleteTable(org.apache.hadoop.hbase.TableName.valueOf(table_name))
     end
@@ -372,7 +372,7 @@ module Hbase
     # Truncates table (deletes all records by recreating the table)
     def truncate(table_name, conf = @conf)
       table_description = @admin.getTableDescriptor(TableName.valueOf(table_name))
-      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first.'" unless enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first." unless enabled?(table_name)
       yield 'Disabling table...' if block_given?
       @admin.disableTable(table_name)
 


[4/4] hbase git commit: HBASE-13080 hbase shell message containing extra quote at the end of error message

Posted by mb...@apache.org.
HBASE-13080 hbase shell message containing extra quote at the end of error message

Signed-off-by: Matteo Bertozzi <ma...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/15b6df53
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/15b6df53
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/15b6df53

Branch: refs/heads/0.98
Commit: 15b6df53d92ee79d7d9aa0adb85fba6aa7cab933
Parents: 137d5e6
Author: Abhishek Kumar <ab...@huawei.com>
Authored: Sun Feb 22 22:56:47 2015 +0530
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Mon Feb 23 10:36:14 2015 +0100

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/15b6df53/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 4964836..3dfe865 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -161,7 +161,7 @@ module Hbase
     #---------------------------------------------------------------------------------------------
     # Throw exception if table doesn't exist
     def tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} does not exist.'" unless exists?(table_name)
+      raise ArgumentError, "Table #{table_name} does not exist." unless exists?(table_name)
     end
 
     #----------------------------------------------------------------------------------------------
@@ -174,7 +174,7 @@ module Hbase
     # Drops a table
     def drop(table_name)
       tableExists(table_name)
-      raise ArgumentError, "Table #{table_name} is enabled. Disable it first.'" if enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is enabled. Disable it first." if enabled?(table_name)
 
       @admin.deleteTable(table_name)
     end
@@ -354,7 +354,7 @@ module Hbase
     def truncate(table_name, conf = @conf)
       h_table = org.apache.hadoop.hbase.client.HTable.new(conf, table_name)
       table_description = h_table.getTableDescriptor()
-      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first.'" unless enabled?(table_name)
+      raise ArgumentError, "Table #{table_name} is not enabled. Enable it first." unless enabled?(table_name)
       yield 'Disabling table...' if block_given?
       @admin.disableTable(table_name)