[ https://issues.apache.org/jira/browse/PHOENIX-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064367#comment-16064367 ]
vishal commented on PHOENIX-3966: --------------------------------- Hi, Actually raised that issue on HBase but someone moved that issue to phoenix thats why it created two same issues in phoenix. > 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)