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:03:04 UTC

[hbase] branch branch-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
in repository https://gitbox.apache.org/repos/asf/hbase.git


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

commit b2f3ddeaa96790b8fa2f8049286b139a5529fff2
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)