hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11635) import tool fails on unsecure cluster
Date Tue, 25 Aug 2015 00:31:45 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Shelukhin updated HIVE-11635:
------------------------------------
    Description: 
{noformat}
Copying kerberos related items
2015-08-24 20:28:51,292 WARN  [main] DataNucleus.Query: Query for candidates of org.apache.hadoop.hive.metastore.model.MDelegationToken
and subclasses resulted in no possible candidates
Required table missing : "`DELEGATION_TOKENS`" in Catalog "" Schema "". DataNucleus requires
this table to perform its persistence operations. Either your MetaData is incorrect, or you
need to enable "datanucleus.autoCreateTables"
org.datanucleus.store.rdbms.exceptions.MissingTableException: Required table missing : "`DELEGATION_TOKENS`"
in Catalog "" Schema "". DataNucleus requires this table to perform its persistence operations.
Either your MetaData is incorrect, or you need to enable "datanucleus.autoCreateTables"
	at org.datanucleus.store.rdbms.table.AbstractTable.exists(AbstractTable.java:485)
	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performTablesValidation(RDBMSStoreManager.java:3380)
	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.addClassTablesAndValidate(RDBMSStoreManager.java:3190)
	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2841)
	at org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:122)
	at org.datanucleus.store.rdbms.RDBMSStoreManager.addClasses(RDBMSStoreManager.java:1605)
	at org.datanucleus.store.AbstractStoreManager.addClass(AbstractStoreManager.java:954)
	at org.datanucleus.store.rdbms.RDBMSStoreManager.getDatastoreClass(RDBMSStoreManager.java:679)
	at org.datanucleus.store.rdbms.query.RDBMSQueryUtils.getStatementForCandidates(RDBMSQueryUtils.java:408)
	at org.datanucleus.store.rdbms.query.JDOQLQuery.compileQueryFull(JDOQLQuery.java:947)
	at org.datanucleus.store.rdbms.query.JDOQLQuery.compileInternal(JDOQLQuery.java:370)
	at org.datanucleus.store.query.Query.executeQuery(Query.java:1744)
	at org.datanucleus.store.query.Query.executeWithArray(Query.java:1672)
	at org.datanucleus.store.query.Query.execute(Query.java:1654)
	at org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:221)
	at org.apache.hadoop.hive.metastore.ObjectStore.getAllTokenIdentifiers(ObjectStore.java:6888)
	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.copyKerberos(HBaseImport.java:474)
	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.run(HBaseImport.java:249)
	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.main(HBaseImport.java:81)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:222)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
{noformat}
...
{noformat}
2015-08-24 20:28:51,298 WARN  [main] DataNucleus.Query: Query for candidates of org.apache.hadoop.hive.metastore.model.MMasterKey
and subclasses resulted in no possible candidates
Required table missing : "`MASTER_KEYS`" in Catalog "" Schema "". DataNucleus requires this
table to perform its persistence operations. Either your MetaData is incorrect, or you need
to enable "datanucleus.autoCreateTables"
org.da
{noformat}

  was:
{noformat}
Copying kerberos related items
2015-08-24 20:28:51,292 WARN  [main] DataNucleus.Query: Query for candidates of org.apache.hadoop.hive.metastore.model.MDelegationToken
and subclasses resulted in no possible candidates
Required table missing : "`DELEGATION_TOKENS`" in Catalog "" Schema "". DataNucleus requires
this table to perform its persistence operations. Either your MetaData is incorrect, or you
need to enable "datanucleus.autoCreateTables"
org.datanucleus.store.rdbms.exceptions.MissingTableException: Required table missing : "`DELEGATION_TOKENS`"
in Catalog "" Schema "". DataNucleus requires this table to perform its persistence operations.
Either your MetaData is incorrect, or you need to enable "datanucleus.autoCreateTables"
	at org.datanucleus.store.rdbms.table.AbstractTable.exists(AbstractTable.java:485)
	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performTablesValidation(RDBMSStoreManager.java:3380)
	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.addClassTablesAndValidate(RDBMSStoreManager.java:3190)
	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2841)
	at org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:122)
	at org.datanucleus.store.rdbms.RDBMSStoreManager.addClasses(RDBMSStoreManager.java:1605)
	at org.datanucleus.store.AbstractStoreManager.addClass(AbstractStoreManager.java:954)
	at org.datanucleus.store.rdbms.RDBMSStoreManager.getDatastoreClass(RDBMSStoreManager.java:679)
	at org.datanucleus.store.rdbms.query.RDBMSQueryUtils.getStatementForCandidates(RDBMSQueryUtils.java:408)
	at org.datanucleus.store.rdbms.query.JDOQLQuery.compileQueryFull(JDOQLQuery.java:947)
	at org.datanucleus.store.rdbms.query.JDOQLQuery.compileInternal(JDOQLQuery.java:370)
	at org.datanucleus.store.query.Query.executeQuery(Query.java:1744)
	at org.datanucleus.store.query.Query.executeWithArray(Query.java:1672)
	at org.datanucleus.store.query.Query.execute(Query.java:1654)
	at org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:221)
	at org.apache.hadoop.hive.metastore.ObjectStore.getAllTokenIdentifiers(ObjectStore.java:6888)
	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.copyKerberos(HBaseImport.java:474)
	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.run(HBaseImport.java:249)
	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.main(HBaseImport.java:81)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:222)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
{noformat}


> import tool fails on unsecure cluster
> -------------------------------------
>
>                 Key: HIVE-11635
>                 URL: https://issues.apache.org/jira/browse/HIVE-11635
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Sergey Shelukhin
>
> {noformat}
> Copying kerberos related items
> 2015-08-24 20:28:51,292 WARN  [main] DataNucleus.Query: Query for candidates of org.apache.hadoop.hive.metastore.model.MDelegationToken
and subclasses resulted in no possible candidates
> Required table missing : "`DELEGATION_TOKENS`" in Catalog "" Schema "". DataNucleus requires
this table to perform its persistence operations. Either your MetaData is incorrect, or you
need to enable "datanucleus.autoCreateTables"
> org.datanucleus.store.rdbms.exceptions.MissingTableException: Required table missing
: "`DELEGATION_TOKENS`" in Catalog "" Schema "". DataNucleus requires this table to perform
its persistence operations. Either your MetaData is incorrect, or you need to enable "datanucleus.autoCreateTables"
> 	at org.datanucleus.store.rdbms.table.AbstractTable.exists(AbstractTable.java:485)
> 	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performTablesValidation(RDBMSStoreManager.java:3380)
> 	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.addClassTablesAndValidate(RDBMSStoreManager.java:3190)
> 	at org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2841)
> 	at org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:122)
> 	at org.datanucleus.store.rdbms.RDBMSStoreManager.addClasses(RDBMSStoreManager.java:1605)
> 	at org.datanucleus.store.AbstractStoreManager.addClass(AbstractStoreManager.java:954)
> 	at org.datanucleus.store.rdbms.RDBMSStoreManager.getDatastoreClass(RDBMSStoreManager.java:679)
> 	at org.datanucleus.store.rdbms.query.RDBMSQueryUtils.getStatementForCandidates(RDBMSQueryUtils.java:408)
> 	at org.datanucleus.store.rdbms.query.JDOQLQuery.compileQueryFull(JDOQLQuery.java:947)
> 	at org.datanucleus.store.rdbms.query.JDOQLQuery.compileInternal(JDOQLQuery.java:370)
> 	at org.datanucleus.store.query.Query.executeQuery(Query.java:1744)
> 	at org.datanucleus.store.query.Query.executeWithArray(Query.java:1672)
> 	at org.datanucleus.store.query.Query.execute(Query.java:1654)
> 	at org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:221)
> 	at org.apache.hadoop.hive.metastore.ObjectStore.getAllTokenIdentifiers(ObjectStore.java:6888)
> 	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.copyKerberos(HBaseImport.java:474)
> 	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.run(HBaseImport.java:249)
> 	at org.apache.hadoop.hive.metastore.hbase.HBaseImport.main(HBaseImport.java:81)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:222)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> {noformat}
> ...
> {noformat}
> 2015-08-24 20:28:51,298 WARN  [main] DataNucleus.Query: Query for candidates of org.apache.hadoop.hive.metastore.model.MMasterKey
and subclasses resulted in no possible candidates
> Required table missing : "`MASTER_KEYS`" in Catalog "" Schema "". DataNucleus requires
this table to perform its persistence operations. Either your MetaData is incorrect, or you
need to enable "datanucleus.autoCreateTables"
> org.da
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message