Repository: hbase
Updated Branches:
  refs/heads/0.98 b846575b8 -> 4316295cc


HBASE-12910 describe in the shell is broken (Lars Hofhansl)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4316295c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4316295c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4316295c

Branch: refs/heads/0.98
Commit: 4316295cc768177f2f7a10c8ab7643e457b12d78
Parents: b846575
Author: Andrew Purtell <[email protected]>
Authored: Fri Jan 23 12:05:20 2015 -0800
Committer: Andrew Purtell <[email protected]>
Committed: Fri Jan 23 12:05:20 2015 -0800

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/4316295c/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb 
b/hbase-shell/src/main/ruby/hbase/admin.rb
index bbd2d97..f267857 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -346,7 +346,7 @@ module Hbase
     end
 
     def get_table_attributes(table_name)
-      
@admin.getTableDescriptor(TableName.valueOf(table_name)).toStringTableAttributes
+      
@admin.getTableDescriptor(table_name.to_java_bytes).toStringTableAttributes
     end
 
     
#----------------------------------------------------------------------------------------------

Reply via email to