diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 6228ad78486d..d874d6337b84 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -1414,7 +1414,7 @@ def create_namespace(namespace_name, *args) #---------------------------------------------------------------------------------------------- # modify a namespace def alter_namespace(namespace_name, *args) - # Fail if table name is not a string + # Fail if namespace name is not a string raise(ArgumentError, 'Namespace name must be of type String') unless namespace_name.is_a?(String) nsd = @admin.getNamespaceDescriptor(namespace_name)