Prabhu Joseph created YARN-10194:
------------------------------------
Summary: YARN RMWebServices /scheduler-conf/validate leaks ZK
Connections
Key: YARN-10194
URL: https://issues.apache.org/jira/browse/YARN-10194
Project: Hadoop YARN
Issue Type: Bug
Components: capacityscheduler
Affects Versions: 3.3.0
Reporter: Prabhu Joseph
Assignee: Prabhu Joseph
YARN RMWebServices /scheduler-conf/validate leaks ZK Connections. Validation
API creates a new CapacityScheduler and missed to close after the validation.
Every CapacityScheduler#init opens MutableCSConfigurationProvider which opens
ZKConfigurationStore and creates a ZK Connection.
*ZK LOGS*
{code}
-03-12 16:45:51,881 WARN org.apache.zookeeper.server.NIOServerCnxnFactory: [2
times] Error accepting new connection: Too many connections from /172.27.99.64
- max is 60
2020-03-12 16:45:52,449 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
Error accepting new connection: Too many connections from /172.27.99.64 - max
is 60
2020-03-12 16:45:52,710 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
Error accepting new connection: Too many connections from /172.27.99.64 - max
is 60
2020-03-12 16:45:52,876 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
[4 times] Error accepting new connection: Too many connections from
/172.27.99.64 - max is 60
2020-03-12 16:45:53,068 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
[2 times] Error accepting new connection: Too many connections from
/172.27.99.64 - max is 60
2020-03-12 16:45:53,391 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
[2 times] Error accepting new connection: Too many connections from
/172.27.99.64 - max is 60
2020-03-12 16:45:54,008 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
Error accepting new connection: Too many connections from /172.27.99.64 - max
is 60
2020-03-12 16:45:54,287 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
Error accepting new connection: Too many connections from /172.27.99.64 - max
is 60
2020-03-12 16:45:54,483 WARN org.apache.zookeeper.server.NIOServerCnxnFactory:
[4 times] Error accepting new connection: Too many connections from
/172.27.99.64 - max is 60
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]