Mar 22, 7:41:56.429 PM | ERROR | co.cask.cdap.common.runtime.DaemonMain | Exception when shutting down: Not connected to zooKeeper. java.lang.IllegalArgumentException: Not connected to zooKeeper. at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92) ~[com.google.guava.guava-13.0.1.jar:na] at org.apache.twill.internal.zookeeper.DefaultZKClientService.getZooKeeper(DefaultZKClientService.java:344) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.internal.zookeeper.DefaultZKClientService.doCreate(DefaultZKClientService.java:147) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.internal.zookeeper.DefaultZKClientService.create(DefaultZKClientService.java:137) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.zookeeper.ForwardingZKClient.create(ForwardingZKClient.java:61) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.internal.zookeeper.FailureRetryZKClient.create(FailureRetryZKClient.java:66) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.zookeeper.ForwardingZKClient.create(ForwardingZKClient.java:61) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.zookeeper.ZKClientServices$1.create(ZKClientServices.java:84) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.zookeeper.AbstractZKClient.create(AbstractZKClient.java:42) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.internal.zookeeper.ReentrantDistributedLock.acquire(ReentrantDistributedLock.java:233) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.internal.zookeeper.ReentrantDistributedLock.acquire(ReentrantDistributedLock.java:176) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at org.apache.twill.internal.zookeeper.ReentrantDistributedLock.lock(ReentrantDistributedLock.java:81) ~[org.apache.twill.twill-zookeeper-0.10.0.jar:0.10.0] at co.cask.cdap.data.runtime.main.MasterServiceMain.stop(MasterServiceMain.java:307) ~[na:na] at co.cask.cdap.common.runtime.DaemonMain$1.run(DaemonMain.java:44) ~[na:na] |
--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/2359303c-395e-4a43-a543-8f5b11986e31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sagar
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/8fbede59-7bc5-4b18-b45c-7ee31083d411%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/c7f69c38-fb47-40ad-9b68-b5c0c38e49c7%40googlegroups.com.
<property> <name>hbase.security.exec.permission.checks</name> <value>true</value> </property>
PriviledgedActionException as:yarn (auth:SIMPLE) cause:org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=yarn, scope=cdap_system, params=[namespace=cdap_system,table=cdap_system:app.meta,family=d],action=CREATE) at org.apache.hadoop.hbase.security.access.AccessController.requireNamespacePermission(AccessController.java:634) at org.apache.hadoop.hbase.security.access.AccessController.preCreateTable(AccessController.java:1003) at org.apache.hadoop.hbase.master.MasterCoprocessorHost$11.call(MasterCoprocessorHost.java:221) at org.apache.hadoop.hbase.master.MasterCoprocessorHost.execOperation(MasterCoprocessorHost.java:1151) at org.apache.hadoop.hbase.master.MasterCoprocessorHost.preCreateTable(MasterCoprocessorHost.java:217) at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1578) at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:469) at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55682) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2191) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:183) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:163)
Going to dig more how to resolve. I granted all permissions to yarn user (which is not correct of course, but I just try to test CDAP in CDH docker image:
hbase> grant 'cdap', 'RWCA'
I think this should be well documented in CDAP docs...
Execute command Gracefully stop this CDAP Master Service on role CDAP Master Service (quickstart) |