[ https://issues.apache.org/jira/browse/YARN-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385922#comment-16385922 ]
genericqa commented on YARN-6702: --------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 5s{color} | {color:red} YARN-6702 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | YARN-6702 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12872760/YARN-6702.01.patch | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/19887/console | | Powered by | Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > 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 > Assignee: Rohith Sharma K S > Priority: Critical > Attachments: YARN-6702.01.patch > > > {{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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org