Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3959

Unable to create new schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None
    • Phoenix verion :4.10.0-HBase-1.2
      HBase version :-HBase-1.2.6

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            vishalb.engg@gmail.com vishal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: