adesh-rao commented on a change in pull request #1275:
URL: https://github.com/apache/hive/pull/1275#discussion_r458744425



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java
##########
@@ -166,6 +167,11 @@ public void run() {
         } catch (Throwable t) {
           LOG.error("Initiator loop caught unexpected exception this time 
through the loop: " +
               StringUtils.stringifyException(t));
+          if (compactionExecutor != null) {

Review comment:
       same as above. This is to fix the number of threads in case threads of 
executor are lost. This is similarly done in Worker.java too.




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



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

Reply via email to