HBASE-7353 [shell] have list and list_snapshot return jruby string arrays.
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
914cf71b6a
commit
52b5f1968f
|
@ -40,6 +40,7 @@ EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
formatter.footer(now, list.size)
|
formatter.footer(now, list.size)
|
||||||
|
return list
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -45,6 +45,7 @@ EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
formatter.footer(now, list.size)
|
formatter.footer(now, list.size)
|
||||||
|
return list.map { |s| s.getName() }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue