okumin opened a new pull request, #4424:
URL: https://github.com/apache/hive/pull/4424

   ### What changes were proposed in this pull request?
   Add date and time to the progress log when `hive.server2.in.place.progress` 
is disabled.
   https://issues.apache.org/jira/browse/HIVE-24286
   
   ### Why are the changes needed?
   With `hive.server2.in.place.progress` disabled, Hive prints progress 
periodically. We want to add date and time to each line so that we can review 
what phase took time easily. As I mentioned in 
[HIVE-24286](https://issues.apache.org/jira/browse/HIVE-24286), Hive on MR or 
Hive on Spark add date and time.
   
   ```
   INFO  : Map 1: -/-   Reducer 2: 0/1  
   INFO  : Map 1: 0/1   Reducer 2: 0/1  
   INFO  : Map 1: 0(+1)/1       Reducer 2: 0/1  
   INFO  : Map 1: 1/1   Reducer 2: 0(+1)/1      
   INFO  : Map 1: 1/1   Reducer 2: 1/1  
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   The log format can change if a user configures 
`hive.server2.in.place.progress=false`.
   
   ### Is the change a dependency upgrade?
   No
   
   ### How was this patch tested?
   I tested the patch on my local machine.
   
   ```
   INFO  : 2023-06-15 14:07:44,590      Map 1: -/-      Reducer 2: 0/1  
   INFO  : 2023-06-15 14:07:45,605      Map 1: 0/1      Reducer 2: 0/1  
   INFO  : 2023-06-15 14:07:48,135      Map 1: 0(+1)/1  Reducer 2: 0/1  
   INFO  : 2023-06-15 14:07:49,658      Map 1: 1/1      Reducer 2: 1/1  
   ```


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to