Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3966

Failed to move working directory snapshot { ss=_UPGRADING_TABLE_SYSTEM.MUTEX table=SYSTEM.MUTEX type=DISABLED }

    XMLWordPrintableJSON

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

      { 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:
      ------------------

      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();
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vishalb.engg@gmail.com vishal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: