You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Chao Wang (Jira)" <ji...@apache.org> on 2022/09/28 02:50:00 UTC

[jira] (PHOENIX-6214) client connect throw NEWER_SCHEMA_FOUND exception after phoenix.schema.isNamespaceMappingEnabled is true

    [ https://issues.apache.org/jira/browse/PHOENIX-6214 ]


    Chao Wang deleted comment on PHOENIX-6214:
    ------------------------------------

was (Author: wangchao316):
https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/78204f140ac84f95981228fad78cb17f~tplv-k3u1fbpfcp-watermark.image

> client connect throw NEWER_SCHEMA_FOUND exception after phoenix.schema.isNamespaceMappingEnabled is true
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6214
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6214
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.13.1
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>            Priority: Major
>
> after set phoenix.schema.isNamespaceMappingEnabled is true, input “use "SYSTEM"” by sqlline.py,and quit sqlline. there throw NewerSchemaAlreadyExistsException when get into sqlline again. As shown below:
> org.apache.phoenix.schema.NewerSchemaAlreadyExistsException: ERROR 721 (42M04): Schema with given name already exists schemaName=SYSTEMorg.apache.phoenix.schema.NewerSchemaAlreadyExistsException: ERROR 721 (42M04): Schema with given name already exists schemaName=SYSTEM at org.apache.phoenix.schema.MetaDataClient.createSchema(MetaDataClient.java:4111) at org.apache.phoenix.compile.CreateSchemaCompiler$1.execute(CreateSchemaCompiler.java:46) at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:394) at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:377) at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)