com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes

Apache's JIRA Issue Tracker | Amithsha | 2 years ago
  1. 0
  2. 0

    Re: CREATE FUNCTION: How to automatically load extra jar file?

    hive-user | 2 years ago | Arthur.hk.chan@gmail.com
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
  3. 0

    Re: CREATE FUNCTION: How to automatically load extra jar file?

    hive-user | 2 years ago | Arthur.hk.chan@gmail.com
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: CREATE FUNCTION: How to automatically load extra jar file?

    hive-user | 2 years ago | Arthur.hk.chan@gmail.com
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
  6. 0

    Re: CREATE FUNCTION: How to automatically load extra jar file?

    hive-user | 2 years ago | Arthur.hk.chan@gmail.com
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

    Specified key was too long; max key length is 767 bytes

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  3. MySQL jdbc
    StatementImpl.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.Util.getInstance(Util.java:386)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2819)
    9. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2768)
    10. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:949)
    11. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:795)
    11 frames
  4. BoneCP :: Core Library
    StatementHandle.execute
    1. com.jolbox.bonecp.StatementHandle.execute(StatementHandle.java:254)
    1 frame
  5. DataNucleus RDBMS plugin
    RDBMSStoreManager.addClasses
    1. org.datanucleus.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:760)
    2. org.datanucleus.store.rdbms.table.TableImpl.createIndices(TableImpl.java:648)
    3. org.datanucleus.store.rdbms.table.TableImpl.validateIndices(TableImpl.java:593)
    4. org.datanucleus.store.rdbms.table.TableImpl.validateConstraints(TableImpl.java:390)
    5. org.datanucleus.store.rdbms.table.ClassTable.validateConstraints(ClassTable.java:3463)
    6. org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performTablesValidation(RDBMSStoreManager.java:3464)
    7. org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.addClassTablesAndValidate(RDBMSStoreManager.java:3190)
    8. org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2841)
    9. org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:122)
    10. org.datanucleus.store.rdbms.RDBMSStoreManager.addClasses(RDBMSStoreManager.java:1605)
    10 frames
  6. DataNucleus Core
    AbstractStoreManager.addClass
    1. org.datanucleus.store.AbstractStoreManager.addClass(AbstractStoreManager.java:954)
    1 frame
  7. DataNucleus RDBMS plugin
    JDOQLQuery.compileInternal
    1. org.datanucleus.store.rdbms.RDBMSStoreManager.getDatastoreClass(RDBMSStoreManager.java:679)
    2. org.datanucleus.store.rdbms.query.RDBMSQueryUtils.getStatementForCandidates(RDBMSQueryUtils.java:408)
    3. org.datanucleus.store.rdbms.query.JDOQLQuery.compileQueryFull(JDOQLQuery.java:947)
    4. org.datanucleus.store.rdbms.query.JDOQLQuery.compileInternal(JDOQLQuery.java:370)
    4 frames
  8. DataNucleus Core
    Query.execute
    1. org.datanucleus.store.query.Query.executeQuery(Query.java:1744)
    2. org.datanucleus.store.query.Query.executeWithArray(Query.java:1672)
    3. org.datanucleus.store.query.Query.execute(Query.java:1654)
    3 frames
  9. DataNucleus JDO API plugin
    JDOQuery.execute
    1. org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:221)
    1 frame
  10. Hive Metastore
    ObjectStore.setConf
    1. org.apache.hadoop.hive.metastore.MetaStoreDirectSql.ensureDbInit(MetaStoreDirectSql.java:172)
    2. org.apache.hadoop.hive.metastore.MetaStoreDirectSql.<init>(MetaStoreDirectSql.java:130)
    3. org.apache.hadoop.hive.metastore.ObjectStore.initialize(ObjectStore.java:275)
    4. org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:238)
    4 frames
  11. Hadoop
    ReflectionUtils.newInstance
    1. org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:73)
    2. org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)
    2 frames
  12. Hive Metastore
    HiveMetaStore$HMSHandler.get_database
    1. org.apache.hadoop.hive.metastore.RawStoreProxy.<init>(RawStoreProxy.java:56)
    2. org.apache.hadoop.hive.metastore.RawStoreProxy.getProxy(RawStoreProxy.java:65)
    3. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newRawStore(HiveMetaStore.java:579)
    4. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:557)
    5. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_database_core(HiveMetaStore.java:933)
    6. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_database(HiveMetaStore.java:907)
    6 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  14. Hive Metastore
    RetryingHMSHandler.invoke
    1. org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:102)
    1 frame
  15. com.sun.proxy
    $Proxy1.get_database
    1. com.sun.proxy.$Proxy1.get_database(Unknown Source)
    1 frame
  16. Hive Metastore
    ThriftHiveMetastore$Processor$get_database.getResult
    1. org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Processor$get_database.getResult(ThriftHiveMetastore.java:8547)
    2. org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Processor$get_database.getResult(ThriftHiveMetastore.java:8531)
    2 frames
  17. Apache Thrift
    ProcessFunction.process
    1. org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
    1 frame
  18. Hive Metastore
    TUGIBasedProcessor.process
    1. org.apache.hadoop.hive.metastore.TUGIBasedProcessor.process(TUGIBasedProcessor.java:103)
    1 frame
  19. Apache Thrift
    TThreadPoolServer$WorkerProcess.run
    1. org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
    1 frame
  20. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:744)
    3 frames