From e1ddfe7a4f97b3b5f7d198ee4827242585ccf85c Mon Sep 17 00:00:00 2001 From: Mingliang Liu Date: Thu, 14 Nov 2019 01:52:20 -0800 Subject: [PATCH] HBASE-23290 shell processlist command is broken --- hbase-shell/src/main/ruby/hbase/taskmonitor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-shell/src/main/ruby/hbase/taskmonitor.rb b/hbase-shell/src/main/ruby/hbase/taskmonitor.rb index 1ee441de32..8509b5dc65 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) -- 2.24.0