diff --git a/hbase-shell/src/main/ruby/hbase/quotas.rb b/hbase-shell/src/main/ruby/hbase/quotas.rb index 3427b44601c..758e2ec6560 100644 --- a/hbase-shell/src/main/ruby/hbase/quotas.rb +++ b/hbase-shell/src/main/ruby/hbase/quotas.rb @@ -36,8 +36,8 @@ module Hbase class QuotasAdmin def initialize(configuration, formatter) @config = configuration - @connection = org.apache.hadoop.hbase.client.ConnectionFactor.createConnection(Configuration) - @admin = connection.getAdmin() + @connection = org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(configuration) + @admin = @connection.getAdmin() @formatter = formatter end