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 2017/06/27 06:07:00 UTC

[jira] [Resolved] (PHOENIX-3959) Unable to create new schema

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

Ankit Singhal resolved PHOENIX-3959.
------------------------------------
    Resolution: Invalid

You may refer the docs(https://phoenix.apache.org/namspace_mapping.html).
And, If you still need any help in using the feature, you can ask on user mailing list(user@phoenix.apache.org)

> Unable to create new schema
> ---------------------------
>
>                 Key: PHOENIX-3959
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3959
>             Project: Phoenix
>          Issue Type: Bug
>         Environment: Phoenix verion :4.10.0-HBase-1.2
> HBase version :-HBase-1.2.6
>            Reporter: vishal
>
> I am getting below error while creating new schema:  
> Inconsistent namespace mapping properites.. Ensure that config phoenix.schema.isNamespaceMappingEnabled is consitent on client and server.
> What does mean by ensure on client and server ??  
> What changes i need to do ??  
> hbase-site.xml
> ------------------------
> <property>
>     <name>phoenix.schema.isNamespaceMappingEnabled</name>
>     <value>true</value>
>   </property>
> Java code :
> ----------------
> Connection connection = setupDbConnection();
> statement statement = connection.createStatement();
> int status = statement.executeUpdate("CREATE SCHEMA test");
> connection.commit();



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)