phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vishal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3959) Unable to create new schema
Date Mon, 19 Jun 2017 14:34:00 GMT
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)

Mime
View raw message