Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
HBase version : 1.2.6
Phoenix Version : 4.10.0-HBase-1.2.0
Description
While creating schema or table I am getting this error:
Failed to move working directory snapshot
So because of this error it is not creating the schema or table.
java-program:
------------------
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");
hdfs-site.xml
----------------
<property> <name>phoenix.schema.isNamespaceMappingEnabled</name> <value>true</value> </property> <property> <name>phoenix.schema.mapSystemTablesToNamespace</name> <value>true</value> </property>
please help me.