hadoop - hive Drop table not working -
i new bee in hadoop world. created internal table in hive , tried importing data same.
then tried drop table got following error.
failed: error in metadata: metaexception(message:javax.jdo.jdoexception: cannot join org.datanucleus.store.rdbms.mapping.java.persistablemapping@6a9ccd9f org.datanucleus.store.rdbms.mapping.java.persistablemapping@55eb1db2 since have different numbers of datastore columns! nestedthrowables: org.datanucleus.exceptions.nucleusexception: cannot join org.datanucleus.store.rdbms.mapping.java.persistablemapping@6a9ccd9f org.datanucleus.store.rdbms.mapping.java.persistablemapping@55eb1db2 since have different numbers of datastore columns!) failed: execution error, return code 1 org.apache.hadoop.hive.ql.exec.ddltask
what can resolved?
any highly appriciated.
looks hive client not matching metastore connecting to. please provide hive-site.xml contents, .metastore. related properties.
here properties into
<property> <name>javax.jdo.option.connectionurl</name> <value>jdbc:mysql://localhost/metastore?createdatabaseifnotexist=true</value> <description>the url of mysql database</description> </property> <property> <name>hive.metastore.local</name> <value>true</value> </property> <property> <name>javax.jdo.option.connectiondrivername</name> <value>com.mysql.jdbc.driver</value> </property> <property> <name>javax.jdo.option.connectionusername</name> <value>root</value> </property> <property> <name>javax.jdo.option.connectionpassword</name> <value>root</value> </property> <property> <name>datanucleus.autocreateschema</name> <value>true</value> </property> <property> <name>datanucleus.fixeddatastore</name> <value>true</value> </property>
Comments
Post a Comment