huianyi commented on issue #238: [LIVY-689] Deliver stage process message to 
the end user using thriftserver
URL: https://github.com/apache/incubator-livy/pull/238#issuecomment-561130364
 
 
   @mgaido91 
   
   > I don't see the point here. Moreover I think for monitoring such job other 
method would be more appropriate, like querying the REST API for the status of 
the job.
   
   1. For ad hoc querys, we can use process bar to get job status.
   2. In most circumstances, we use livy for offline schedule tasks, like using 
airflow to submit job at a specific time, which needs to get all job process 
status, process bar can not support this.
   
   Hive support these two implements, it actually calls yarn api to get job 
status, which is a while loop calling AppMaster(You can check it 
[here](https://github.com/apache/hadoop/blob/e3496499ecb8d220fba99dc5ed4c99c8f9e33bb1/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java#L1338)
 )

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to