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/21 04:49:00 UTC

[jira] [Created] (PHOENIX-3966) Failed to move working directory snapshot { ss=_UPGRADING_TABLE_SYSTEM.MUTEX table=SYSTEM.MUTEX type=DISABLED }

vishal created PHOENIX-3966:
-------------------------------

             Summary: Failed to move working directory snapshot { ss=_UPGRADING_TABLE_SYSTEM.MUTEX table=SYSTEM.MUTEX type=DISABLED }
                 Key: PHOENIX-3966
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3966
             Project: Phoenix
          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)