vishal created HBASE-18250:
------------------------------

             Summary: Failed to move working directory snapshot { 
ss=_UPGRADING_TABLE_SYSTEM.MUTEX table=SYSTEM.MUTEX type=DISABLED }
                 Key: HBASE-18250
                 URL: https://issues.apache.org/jira/browse/HBASE-18250
             Project: HBase
          Issue Type: Bug
         Environment: HBase version : 1.2.6
Phoenix Version : 4.10.0-HBase-1.2.0
            Reporter: vishal


While creating schema or table I am getting this error:
Failed to move working directory snapshot { ss=_UPGRADING_TABLE_SYSTEM.MUTEX 
table=SYSTEM.MUTEX type=DISABLED }
So because of this error it is not creating the schema or table.

java-program:
------------------
{code:java}
Properties connectionProps = new Properties();
connectionProps.put("phoenix.schema.isNamespaceMappingEnabled", "true");
connectionProps.put("phoenix.schema.mapSystemTablesToNamespace", "true");
connection = 
DriverManager.getConnection("jdbc:phoenix:localhost",connectionProps);
statement = connection.createStatement();
statement.executeUpdate("CREATE SCHEMA MYSCHEMA");
{code}

hdfs-site.xml
----------------
{code:java}
 <property>
            <name>phoenix.schema.isNamespaceMappingEnabled</name>
            <value>true</value>
   </property>
        <property>
            <name>phoenix.schema.mapSystemTablesToNamespace</name>
            <value>true</value>
   </property>
{code}

please help me.



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

Reply via email to