diff --git a/hbase-shell/src/main/ruby/hbase/taskmonitor.rb b/hbase-shell/src/main/ruby/hbase/taskmonitor.rb index 1ee441de323..8509b5dc652 100644 --- a/hbase-shell/src/main/ruby/hbase/taskmonitor.rb +++ b/hbase-shell/src/main/ruby/hbase/taskmonitor.rb @@ -152,7 +152,7 @@ module Hbase setCellWidth('Description', descriptionWidth), setCellWidth('Status', statusWidth)] - line = format('| %s | %s | %s | %s | %s |', cells) + line = format('| %s | %s | %s | %s | %s |', *cells) puts(rowSeparator) puts(line) @@ -165,7 +165,7 @@ module Hbase setCellWidth(t.description, descriptionWidth), setCellWidth(format('%s (since %d seconds ago)', t.status, Time.now - t.statustime), statusWidth)] - line = format('| %s | %s | %s | %s | %s |', cells) + line = format('| %s | %s | %s | %s | %s |', *cells) puts(rowSeparator) puts(line)