HBASE-20200 list_procedures fails in shell

Signed-off-by: Ted Yu <yuzhihong@gmail.com>
Signed-off-by: Umesh Agashe <uagashe@cloudera.com>
This commit is contained in:
Balazs Meszaros 2018-03-14 17:31:15 +01:00 committed by Peter Somogyi
parent 82483fad7c
commit 31da4d0bce
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ EOF
list = JSON.parse(admin.list_procedures) list = JSON.parse(admin.list_procedures)
list.each do |proc| list.each do |proc|
formatter.row([proc])
submitted_time = Time.at(Integer(proc['submittedTime']) / 1000).to_s submitted_time = Time.at(Integer(proc['submittedTime']) / 1000).to_s
last_update = Time.at(Integer(proc['lastUpdate']) / 1000).to_s last_update = Time.at(Integer(proc['lastUpdate']) / 1000).to_s
formatter.row([proc['procId'], proc['className'], proc['state'], formatter.row([proc['procId'], proc['className'], proc['state'],