You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/11/15 00:04:16 UTC

[hbase] branch branch-2.2 updated: HBASE-23290 shell processlist command is broken

This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new 93f1b4a  HBASE-23290 shell processlist command is broken
93f1b4a is described below

commit 93f1b4ae7f1fced1b6dcfcc96a3dd8f36a400047
Author: Mingliang Liu <li...@apache.org>
AuthorDate: Thu Nov 14 01:52:20 2019 -0800

    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 76f8711..61e16b8 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)