[
https://issues.apache.org/jira/browse/PHOENIX-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064320#comment-16064320
]
Ankit Singhal commented on PHOENIX-3967:
----------------------------------------
Duplicate of PHOENIX-3962.
> Failed to move working directory snapshot { ss=_UPGRADING_TABLE_SYSTEM.MUTEX
> table=SYSTEM.MUTEX type=DISABLED }
> ---------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-3967
> URL: https://issues.apache.org/jira/browse/PHOENIX-3967
> 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)