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:48 UTC

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


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

commit 99510dc75bdaf59eaa6d1933ac360d0e66432073
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 1580486..be6df6d 100644
--- a/hbase-shell/src/main/ruby/hbase/taskmonitor.rb
+++ b/hbase-shell/src/main/ruby/hbase/taskmonitor.rb
@@ -146,7 +146,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)
@@ -159,7 +159,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)