HBASE-22875 TestShell and TestAdminShell2 are broken

This commit is contained in:
Duo Zhang 2019-08-18 21:54:57 +08:00 committed by Peter Somogyi
parent 7697d48cd7
commit 46abaef4be
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ EOF
list = admin.list_snapshot(regex)
list.each do |snapshot|
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
formatter.footer(list.size)

View File

@ -44,7 +44,7 @@ EOF
list = admin.list_table_snapshots(tableNameRegex, snapshotNameRegex)
list.each do |snapshot|
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
formatter.footer(list.size)