[
https://issues.apache.org/jira/browse/HIVE-25185?focusedWorklogId=608499&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-608499
]
ASF GitHub Bot logged work on HIVE-25185:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Jun/21 14:45
Start Date: 08/Jun/21 14:45
Worklog Time Spent: 10m
Work Description: belugabehr commented on a change in pull request #2339:
URL: https://github.com/apache/hive/pull/2339#discussion_r647514577
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPool.java
##########
@@ -131,13 +131,14 @@ SessionType getSession() throws Exception {
poolLock.lock();
try {
while ((result = pool.poll()) == null) {
- notEmpty.await(100, TimeUnit.MILLISECONDS);
+ LOG.info("Awaiting Tez session to become available in session pool");
+ notEmpty.await(10, TimeUnit.SECONDS);
Review comment:
@pgaref This is not just a loop-and-sleep. The `notEmpty` condition
will be alerted when a session becomes available and this thread will run again
to pickup the session. I don't really understand why there is a timeout
currently implemented.
--
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 608499)
Time Spent: 1h 10m (was: 1h)
> Improve Logging On Polling Tez Session from Pool
> ------------------------------------------------
>
> Key: HIVE-25185
> URL: https://issues.apache.org/jira/browse/HIVE-25185
> Project: Hive
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)