Ok good to know; You can configure a namespace for the metadata table, see https://issues.apache.org/jira/browse/KYLIN-1400
2017-11-20 16:53 GMT+08:00 Kumar, Manoj H <manoj.h.ku...@jpmorgan.com>: > Both issues have been resolved.. It was related to HBASE Namespace. > > > > Regards, > > Manoj > > > > *From:* Kumar, Manoj H > *Sent:* Monday, November 20, 2017 12:40 PM > *To:* user@kylin.apache.org > *Subject:* RE: Apache Kyine - Hbase set up not working > *Importance:* High > > > > Pls. advise on this – what needs to be done. Some permission issue for > user a_rcmo_nd. Pls. advise what needs to be done. > > > > Exception in thread "main" java.lang.IllegalArgumentException: Failed to > find metadata store by url: kylin_metadata@hbase > > at org.apache.kylin.common.persistence.ResourceStore. > createResourceStore(ResourceStore.java:89) > > at org.apache.kylin.common.persistence.ResourceStore. > getStore(ResourceStore.java:101) > > at org.apache.kylin.rest.service.AclTableMigrationTool. > checkIfNeedMigrate(AclTableMigrationTool.java:94) > > at org.apache.kylin.tool.AclTableMigrationCLI.main( > AclTableMigrationCLI.java:41) > > Caused by: java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance( > NativeConstructorAccessorImpl.java:57) > > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( > DelegatingConstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > > at org.apache.kylin.common.persistence.ResourceStore. > createResourceStore(ResourceStore.java:83) > > ... 3 more > > Caused by: org.apache.hadoop.hbase.security.AccessDeniedException: > org.apache.hadoop.hbase.security.AccessDeniedException: *Insufficient > permissions* (user=a_rcmo...@naeast.ad.jpmorganchase.com, scope=default, > params=[namespace=default,table=default:kylin_metadata, > family=f],action=CREATE) > > at org.apache.hadoop.hbase.security.access.AccessController. > requireNamespacePermission(AccessController.java:633) > > at org.apache.hadoop.hbase.security.access.AccessController. > preCreateTable(AccessController.java:1002) > > at org.apache.hadoop.hbase.master.MasterCoprocessorHost$ > 11.call(MasterCoprocessorHost.java:216) > > > > Regards, > > Manoj > > > > *From:* Kumar, Manoj H > *Sent:* Monday, November 20, 2017 11:31 AM > *To:* user@kylin.apache.org > *Subject:* Apache Kyine - kylin.env.hdfs-working-dir > > > > I am installing kyline 2.10 on Dev Cluster(Cloudera) . Although I have > given 777 permission on kylin Folder but still giving error. Can you pls. > help on this? Whats missing here? > > > > -bash-4.1$ hdfs dfs -mkdir /tenants/rft/rcmo/kylin > > -bash-4.1$ hdfs dfs -chmod 777 /tenants/rft/rcmo/kylin > > > > Kyline properties.conf - #kylin.env.hdfs-working-dir=/ > tenants/rft/rcmo/kylin > > > > -bash-4.1$ ./check-env.sh > > Retrieving hadoop conf dir... > > KYLIN_HOME is set to /apps/rft/rcmo/apps/kylin/ > apache-kylin-2.1.0-bin-cdh57 > > mkdir: Permission denied: user=a_rcmo_nd, access=WRITE, > inode="/":hdfs:supergroup:drwxr-xr-x > > Failed to create /kylin. Please make sure the user has right to access > /kylin > > > > Regards, > > Manoj > > > > This message is confidential and subject to terms at: http:// > www.jpmorgan.com/emaildisclaimer including on confidentiality, legal > privilege, viruses and monitoring of electronic messages. If you are not > the intended recipient, please delete this message and notify the sender > immediately. Any unauthorized use is strictly prohibited. > > This message is confidential and subject to terms at: http:// > www.jpmorgan.com/emaildisclaimer including on confidentiality, legal > privilege, viruses and monitoring of electronic messages. If you are not > the intended recipient, please delete this message and notify the sender > immediately. Any unauthorized use is strictly prohibited. > > This message is confidential and subject to terms at: http:// > www.jpmorgan.com/emaildisclaimer including on confidentiality, legal > privilege, viruses and monitoring of electronic messages. If you are not > the intended recipient, please delete this message and notify the sender > immediately. Any unauthorized use is strictly prohibited. > -- Best regards, Shaofeng Shi 史少锋