HBASE-23290 shell processlist command is broken
This commit is contained in:
parent
1d6f50fd86
commit
4cc899d8e3
|
@ -152,7 +152,7 @@ module Hbase
|
||||||
setCellWidth('Description', descriptionWidth),
|
setCellWidth('Description', descriptionWidth),
|
||||||
setCellWidth('Status', statusWidth)]
|
setCellWidth('Status', statusWidth)]
|
||||||
|
|
||||||
line = format('| %s | %s | %s | %s | %s |', cells)
|
line = format('| %s | %s | %s | %s | %s |', *cells)
|
||||||
|
|
||||||
puts(rowSeparator)
|
puts(rowSeparator)
|
||||||
puts(line)
|
puts(line)
|
||||||
|
@ -165,7 +165,7 @@ module Hbase
|
||||||
setCellWidth(t.description, descriptionWidth),
|
setCellWidth(t.description, descriptionWidth),
|
||||||
setCellWidth(format('%s (since %d seconds ago)', t.status, Time.now - t.statustime), statusWidth)]
|
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(rowSeparator)
|
||||||
puts(line)
|
puts(line)
|
||||||
|
|
Loading…
Reference in New Issue