You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2016/06/09 18:56:21 UTC

[jira] [Commented] (PHOENIX-2978) For multi-tenant tables, associated index namespace should be created automatically

    [ https://issues.apache.org/jira/browse/PHOENIX-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323119#comment-15323119 ] 

Ankit Singhal commented on PHOENIX-2978:
----------------------------------------

Thanks [~mujtabachohan] for testing namespace feature, I noticed this too during pherf testing with namespace enabled and fixed it in a patch for PHOENIX-2901. 
 


> For multi-tenant tables, associated index namespace should be created automatically
> -----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2978
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2978
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>            Assignee: Ankit Singhal
>             Fix For: 4.8.0
>
>
> {code}
> create schema MYSCHEMA;
> create table MYSCHEMA.T (pk1 varchar not null, pk2 varchar not null constraint pk primary key(pk1, pk2)) MULTI_TENANT=true;
> Caused by: org.apache.hadoop.hbase.NamespaceNotFoundException: org.apache.hadoop.hbase.NamespaceNotFoundException: _IDX_MYSCHEMA
> 	at org.apache.hadoop.hbase.master.HMaster.getNamespaceDescriptor(HMaster.java:3533)
> 	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1855)
> 	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:2106)
> 	at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:43268)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2149)
> 	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:104)
> 	at org.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:74)
> {code}
> Environment: 4.x-HBase-0.98 [commit|https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=82295b5d236554b2fec83ebdedee701005fcc04b] | HBase 0.98.17



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)