9aman opened a new issue, #2849:
URL: https://github.com/apache/helix/issues/2849

   **Context**
   This is about the use of Helix in **Apache Pinot**. I want to infer the 
**queue size** of the **executor service** that handles **state transitions**.
   
   ```
   2024/05/09 03:46:55.385 INFO [HelixTaskExecutor] 
[ZkClient-EventThread-137-pinot-zookeeper-headless:2181] Submit task: 
755de162-49a1-4092-8e11-945c8e5e7674 to pool: 
java.util.concurrent.ThreadPoolExecutor@18623363[Running, pool size = 40, 
active threads = 40, queued tasks = 160, completed tasks = 33065]
   ```
   
   Above are the logs emitted by Helix. These logs contain the details of the 
executor service used for the state transition messages.
   
   On analysis of the code, I found that the following line in the 
**HelixTaskExecutor** class provides the above details: 
   `LOG.info("Submit task: " + taskId + " to pool: " + exeSvc);` 
   
   **Is your feature request related to a problem? Please describe.**
   I wanted to access the helix task executor queue size. The `_executorMap` 
inside HelixTaskExecutor cannot be accessed. This limits our access to the 
executor service. 
   Is there a way to get the queue size?
   
   **Describe the solution you'd like**
   Ability to fetch the queue size of the executor service that handles state 
transition requests inside HelixTaskExecutor.
   


-- 
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: reviews-unsubscr...@helix.apache.org.apache.org

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


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

Reply via email to