[ https://issues.apache.org/jira/browse/YARN-7198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202732#comment-16202732 ]
Allen Wittenauer commented on YARN-7198: ---------------------------------------- I'm still playing with the last patch, but I'm very perplexed. If I set {code} export YARN_REGISTRYDNS_SECURE_USER=yarn {code} in hadoop-env.sh/yarn-env.sh and then run: {code} yarn --daemon start registrydns {code} the process breaks with {code} java.lang.ClassNotFoundException: org.apache.hadoop.registry.server.dns.PrivilegedRegistryDNSStarter at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:151) Cannot load daemon Service exit with a return value of 3 {code} That's indicative of either the classname being wrong or the jar files being or the class not being in the jar files or whatever. A quick pass through the jars I'm using show it isn't in there. I'll double check my build to make sure it's the correct one. It's likely a local build problem, so whatever. But if I don't set that (and therefore, don't get the jsvc behavior) It comes up as yarn on port 54... which shouldn't work since 54 is a reserved port and the yarn user shouldn't have access to that port. Very very curious. > Add jsvc support for RegistryDNS > -------------------------------- > > Key: YARN-7198 > URL: https://issues.apache.org/jira/browse/YARN-7198 > Project: Hadoop YARN > Issue Type: Sub-task > Components: yarn-native-services > Reporter: Billie Rinaldi > Assignee: Billie Rinaldi > Priority: Critical > Attachments: YARN-7198-yarn-native-services.01.patch, > YARN-7198-yarn-native-services.02.patch, > YARN-7198-yarn-native-services.03.patch, > YARN-7198-yarn-native-services.04.patch, > YARN-7198-yarn-native-services.05.patch, > YARN-7198-yarn-native-services.06.patch > > > RegistryDNS should have jsvc support and be managed through the shell > scripts, rather than being started manually. See original comments on > YARN-7191. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org