HBASE-12690 list_quotas command is failing with not able to load Java class (Ashish)

This commit is contained in:
tedyu 2014-12-16 13:55:35 -08:00
parent c7fad665f3
commit 92bc36b762
1 changed files with 2 additions and 2 deletions

View File

@ -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