You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2017/06/09 14:15:18 UTC
[jira] [Created] (YARN-6702) Zk connection leak during
activeService fail if embedded elector is not curator
Bibin A Chundatt created YARN-6702:
--------------------------------------
Summary: Zk connection leak during activeService fail if embedded elector is not curator
Key: YARN-6702
URL: https://issues.apache.org/jira/browse/YARN-6702
Project: Hadoop YARN
Issue Type: Bug
Affects Versions: 3.0.0-alpha3
Reporter: Bibin A Chundatt
Priority: Critical
{{ResourceManager#transitionToActive}} startActiveService Failure the active services are reinitialized.
{code}
this.rmLoginUGI.doAs(new PrivilegedExceptionAction<Void>() {
@Override
public Void run() throws Exception {
try {
startActiveServices();
return null;
} catch (Exception e) {
reinitialize(true);
throw e;
}
}
});
{code}
{{ZKRMStateStore#initInternal}} will create another ZK connection.
{code}
curatorFramework = resourceManager.getCurator();
if (curatorFramework == null) {
curatorFramework = resourceManager.createAndStartCurator(conf);
}
{code}
{quote}
secureuser@vm1:/opt/hadoop/release/hadoop/sbin> netstat -aen | grep 2181
tcp 0 0 192.168.56.101:49222 192.168.56.103:2181 ESTABLISHED 1004 31984
tcp 0 0 192.168.56.101:46016 192.168.56.103:2181 ESTABLISHED 1004 26120
tcp 0 0 192.168.56.101:50918 192.168.56.103:2181 ESTABLISHED 1004 34761
tcp 0 0 192.168.56.101:49598 192.168.56.103:2181 ESTABLISHED 1004 32483
tcp 0 0 192.168.56.101:49472 192.168.56.103:2181 ESTABLISHED 1004 32364
tcp 0 0 192.168.56.101:50708 192.168.56.103:2181 ESTABLISHED 1004 34310
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org