phoenix-dev mailing list archives

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

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

vishal updated PHOENIX-3959:
----------------------------
    Description: 
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();

  was:
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();


> 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)

Mime
View raw message