HBASE-12690 list_quotas command is failing with not able to load Java class (Ashish)
This commit is contained in:
parent
c7fad665f3
commit
92bc36b762
|
@ -36,8 +36,8 @@ module Hbase
|
||||||
class QuotasAdmin
|
class QuotasAdmin
|
||||||
def initialize(configuration, formatter)
|
def initialize(configuration, formatter)
|
||||||
@config = configuration
|
@config = configuration
|
||||||
@connection = org.apache.hadoop.hbase.client.ConnectionFactor.createConnection(Configuration)
|
@connection = org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(configuration)
|
||||||
@admin = connection.getAdmin()
|
@admin = @connection.getAdmin()
|
||||||
@formatter = formatter
|
@formatter = formatter
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue