Skip to content

Commit

Permalink
HBASE-22875 TestShell and TestAdminShell2 are broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Apache9 authored and petersomogyi committed Aug 19, 2019
1 parent 7697d48 commit 46abaef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hbase-shell/src/main/ruby/shell/commands/list_snapshots.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def command(regex = '.*')
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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def command(tableNameRegex, snapshotNameRegex = '.*')
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)
Expand Down

0 comments on commit 46abaef

Please sign in to comment.