HBASE-22875 TestShell and TestAdminShell2 are broken
This commit is contained in:
parent
7697d48cd7
commit
46abaef4be
@ -39,7 +39,7 @@ EOF
|
|||||||
list = admin.list_snapshot(regex)
|
list = admin.list_snapshot(regex)
|
||||||
list.each do |snapshot|
|
list.each do |snapshot|
|
||||||
creation_time = Time.at(snapshot.getCreationTime / 1000).to_s
|
creation_time = Time.at(snapshot.getCreationTime / 1000).to_s
|
||||||
formatter.row([snapshot.getName, snapshot.getTable + ' (' + creation_time + ')'])
|
formatter.row([snapshot.getName, snapshot.getTableNameAsString + ' (' + creation_time + ')'])
|
||||||
end
|
end
|
||||||
|
|
||||||
formatter.footer(list.size)
|
formatter.footer(list.size)
|
||||||
|
@ -44,7 +44,7 @@ EOF
|
|||||||
list = admin.list_table_snapshots(tableNameRegex, snapshotNameRegex)
|
list = admin.list_table_snapshots(tableNameRegex, snapshotNameRegex)
|
||||||
list.each do |snapshot|
|
list.each do |snapshot|
|
||||||
creation_time = Time.at(snapshot.getCreationTime / 1000).to_s
|
creation_time = Time.at(snapshot.getCreationTime / 1000).to_s
|
||||||
formatter.row([snapshot.getName, snapshot.getTable + ' (' + creation_time + ')'])
|
formatter.row([snapshot.getName, snapshot.getTableNameAsString + ' (' + creation_time + ')'])
|
||||||
end
|
end
|
||||||
|
|
||||||
formatter.footer(list.size)
|
formatter.footer(list.size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user