Description
oozie process always consume high cpu. in my mechine,around 10%.
I check the source code,find take() method in PriorityDelayQueue class。
code:
public QueueElement<E> take() throws InterruptedException { QueueElement<E> e = poll(); while (e == null) { Thread.sleep(10); e = poll(); } return e; }
i think it's the reason of this problem. it's keep while, not await.
Attachments
Attachments
Issue Links
- blocks
-
OOZIE-3352 [tests] TestCallableQueueService#testPriorityExecutionOrder() is flaky
- Closed
-
OOZIE-3349 Test cases in oozie fail with java.net.ConnectException
- Closed
-
OOZIE-3229 [client] [ui] Improved SLA filtering options
- Closed
- is related to
-
OOZIE-1855 TestPriorityDelayQueue#testPoll failed intermittently in Jenkins
- Closed
- relates to
-
OOZIE-3349 Test cases in oozie fail with java.net.ConnectException
- Closed
-
OOZIE-3357 [core] More graceful CallableQueueService#destroy()
- Open
- links to