Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9452 Use HBase to store Hive metadata
  3. HIVE-11635

import tool fails on non-secure cluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Metastore
    • None

    Description

      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)
      

      ...

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: