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:
parent
82483fad7c
commit
31da4d0bce
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue