From 92bc36b762a1e3f8976262169ffdaafcac60a7e7 Mon Sep 17 00:00:00 2001 From: tedyu Date: Tue, 16 Dec 2014 13:55:35 -0800 Subject: [PATCH] HBASE-12690 list_quotas command is failing with not able to load Java class (Ashish) --- hbase-shell/src/main/ruby/hbase/quotas.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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