phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mujtaba Chohan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-2978) For multi-tenant tables, associated index namespace should be created automatically
Date Thu, 09 Jun 2016 19:15:21 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mujtaba Chohan resolved PHOENIX-2978.
-------------------------------------
    Resolution: Duplicate

Thanks [~ankit@apache.org]. Resolving this as _related to_ 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)

Mime
View raw message