You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2017/06/27 06:02:00 UTC

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

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

Ankit Singhal resolved PHOENIX-3966.
------------------------------------
    Resolution: Duplicate

> 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");
> connection.commit();
> {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)