[jira] [Assigned] (YARN-7942) Yarn ServiceClient does not not delete znode from secure ZooKeeper
[ https://issues.apache.org/jira/browse/YARN-7942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang reassigned YARN-7942: --- Assignee: Billie Rinaldi (was: Eric Yang) > Yarn ServiceClient does not not delete znode from secure ZooKeeper > -- > > Key: YARN-7942 > URL: https://issues.apache.org/jira/browse/YARN-7942 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-native-services >Affects Versions: 3.1.0 >Reporter: Eric Yang >Assignee: Billie Rinaldi >Priority: Blocker > Attachments: YARN-7942.001.patch, YARN-7942.002.patch > > > Even with sasl:rm:cdrwa set on the ZK node (from the registry system accounts > property), the RM fails to remove the node with the below error. Also, the > destroy call succeeds. > {code} > 2018-02-16 15:49:29,691 WARN client.ServiceClient > (ServiceClient.java:actionDestroy(470)) - Error deleting registry entry > /users/hbase/services/yarn-service/hbase-app-test > org.apache.hadoop.registry.client.exceptions.NoPathPermissionsException: > `/registry/users/hbase/services/yarn-service/hbase-app-test': Not authorized > to access path; ACLs: [null ACL]: KeeperErrorCode = NoAuth for > /registry/users/hbase/services/yarn-service/hbase-app-test > at > org.apache.hadoop.registry.client.impl.zk.CuratorService.operationFailure(CuratorService.java:412) > at > org.apache.hadoop.registry.client.impl.zk.CuratorService.operationFailure(CuratorService.java:390) > at > org.apache.hadoop.registry.client.impl.zk.CuratorService.zkDelete(CuratorService.java:722) > at > org.apache.hadoop.registry.client.impl.zk.RegistryOperationsService.delete(RegistryOperationsService.java:162) > at > org.apache.hadoop.yarn.service.client.ServiceClient.actionDestroy(ServiceClient.java:462) > at > org.apache.hadoop.yarn.service.webapp.ApiServer$4.run(ApiServer.java:253) > at > org.apache.hadoop.yarn.service.webapp.ApiServer$4.run(ApiServer.java:243) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1965) > at > org.apache.hadoop.yarn.service.webapp.ApiServer.stopService(ApiServer.java:243) > at > org.apache.hadoop.yarn.service.webapp.ApiServer.deleteService(ApiServer.java:223) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > at > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) > at > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) > at > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) > at > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) > at > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) > at > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) > at > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) > at > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) > at > com.goog
[jira] [Assigned] (YARN-7942) Yarn ServiceClient does not not delete znode from secure ZooKeeper
[ https://issues.apache.org/jira/browse/YARN-7942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang reassigned YARN-7942: --- Assignee: Eric Yang > Yarn ServiceClient does not not delete znode from secure ZooKeeper > -- > > Key: YARN-7942 > URL: https://issues.apache.org/jira/browse/YARN-7942 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-native-services >Affects Versions: 3.1.0 >Reporter: Eric Yang >Assignee: Eric Yang >Priority: Blocker > Attachments: YARN-7942.001.patch > > > Even with sasl:rm:cdrwa set on the ZK node (from the registry system accounts > property), the RM fails to remove the node with the below error. Also, the > destroy call succeeds. > {code} > 2018-02-16 15:49:29,691 WARN client.ServiceClient > (ServiceClient.java:actionDestroy(470)) - Error deleting registry entry > /users/hbase/services/yarn-service/hbase-app-test > org.apache.hadoop.registry.client.exceptions.NoPathPermissionsException: > `/registry/users/hbase/services/yarn-service/hbase-app-test': Not authorized > to access path; ACLs: [null ACL]: KeeperErrorCode = NoAuth for > /registry/users/hbase/services/yarn-service/hbase-app-test > at > org.apache.hadoop.registry.client.impl.zk.CuratorService.operationFailure(CuratorService.java:412) > at > org.apache.hadoop.registry.client.impl.zk.CuratorService.operationFailure(CuratorService.java:390) > at > org.apache.hadoop.registry.client.impl.zk.CuratorService.zkDelete(CuratorService.java:722) > at > org.apache.hadoop.registry.client.impl.zk.RegistryOperationsService.delete(RegistryOperationsService.java:162) > at > org.apache.hadoop.yarn.service.client.ServiceClient.actionDestroy(ServiceClient.java:462) > at > org.apache.hadoop.yarn.service.webapp.ApiServer$4.run(ApiServer.java:253) > at > org.apache.hadoop.yarn.service.webapp.ApiServer$4.run(ApiServer.java:243) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1965) > at > org.apache.hadoop.yarn.service.webapp.ApiServer.stopService(ApiServer.java:243) > at > org.apache.hadoop.yarn.service.webapp.ApiServer.deleteService(ApiServer.java:223) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > at > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) > at > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) > at > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) > at > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) > at > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) > at > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) > at > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) > at > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) > at > com.google.inject.servlet.FilterChainInvocation.doFilter(