You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "vishal (JIRA)" <ji...@apache.org> on 2017/06/19 14:34:00 UTC

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

vishal created PHOENIX-3959:
-------------------------------

             Summary: 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
------------------------
phoenix.schema.isNamespaceMappingEnabled true

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)