bitoffdev commented on a change in pull request #2268:
URL: https://github.com/apache/hbase/pull/2268#discussion_r472221019
##########
File path: hbase-shell/src/main/ruby/hbase/admin.rb
##########
@@ -587,7 +588,10 @@ def get_column_families(table_name)
def get_table_attributes(table_name)
tableExists(table_name)
-
@admin.getDescriptor(TableName.valueOf(table_name)).toStringTableAttributes
+ td = @admin.getDescriptor TableName.valueOf(table_name)
+ method = td.java_class.declared_method :toStringTableAttributes
+ method.accessible = true
Review comment:
Added a note... I also left a TODO in case someone else comes along with
an idea to makes this better.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]