abstractdog commented on PR #6987:
URL: https://github.com/apache/hive/pull/6987#issuecomment-7407447962

   > > hm, isn't `VertexStatus` read and used in every call? what about the 
detailed vertex progress that beeline shows? I might be missing something I 
guess
   > > ```
   > > 
----------------------------------------------------------------------------------------------
   > >         VERTICES      MODE        STATUS  TOTAL  COMPLETED  RUNNING  
PENDING  FAILED  KILLED
   > > 
----------------------------------------------------------------------------------------------
   > > Map 6 ..........      llap     SUCCEEDED      1          1        0      
  0       0       0
   > > Map 8 ..........      llap     SUCCEEDED      1          1        0      
  0       0       0
   > > Map 2 ..........      llap     SUCCEEDED     11         11        0      
  0       0       0
   > > Map 1 ..........      llap     SUCCEEDED      1          1        0      
  0       0       0
   > > Reducer 5 ......      llap     SUCCEEDED      2          2        0      
  0       0       0
   > > Map 7 ..........      llap     SUCCEEDED      4          4        0      
  0       0       0
   > > Reducer 3 ......      llap     SUCCEEDED      2          2        0      
  0       0       0
   > > Reducer 4 ......      llap     SUCCEEDED      1          1        0      
  0       0       0
   > > 
----------------------------------------------------------------------------------------------
   > > VERTICES: 08/08  [==========================>>] 100%  ELAPSED TIME: 
10.73 s
   > > 
----------------------------------------------------------------------------------------------
   > > ```
   > 
   > No, that Beeline table actually comes from `DAGStatus.getVertexProgress()` 
. In `TezProgressMonitor.rows()`, every column reads from `progressCountsMap` 
populated from `DAGStatus.getVertexProgress()` here
   > 
   > 
https://github.com/apache/hive/blob/c56c3f5924c8fba851318087766ba380ed836d06/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/TezJobMonitor.java#L292
   > 
   > The vertexProgressMap = status.getVertexProgress(); is in while(true) loop 
so it will still populate the table.
   
   Makes sense. Please clarify one more thing, and we're okay: does any other 
terminal state make sense to include here other than KILLED?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to