Index: hbase-shell/src/main/ruby/hbase/security.rb =================================================================== --- hbase-shell/src/main/ruby/hbase/security.rb (revision 1572337) +++ hbase-shell/src/main/ruby/hbase/security.rb (working copy) @@ -63,7 +63,7 @@ #We pass the namespace name along with "@" so that we can differentiate a namespace from a table. # invoke cp endpoint to perform access controlse org.apache.hadoop.hbase.protobuf.ProtobufUtil.grant( - protocol, user, tablebytes, perm.getActions()) + protocol, user, namespace_name, perm.getActions()) else # Table should exist raise(ArgumentError, "Can't find a table: #{table_name}") unless exists?(table_name)