crawl.InjectorJob

InjectorJob: org.apache.gora.util.GoraException: java.io.IOException: java.sql.SQLException: Index column size too large. The maximum column size is 767 bytes.

Samebug tips1

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7

  • via nutch-user by Tamer Yousef, 9 months ago
    InjectorJob: org.apache.gora.util.GoraException: java.io.IOException: java.sql.SQLException: Index column size too large. The maximum column size is 767 bytes.
  • via nutch-user by Tamer Yousef, 9 months ago
    InjectorJob: org.apache.gora.util.GoraException: java.io.IOException: java.sql.SQLException: Index column size too large. The maximum column size is 767 bytes.
  • via Stack Overflow by Sujit Rai
    , 1 year ago
    InjectorJob: org.apache.gora.util.GoraException: java.lang.RuntimeException: org.apache.hadoop.hbase.MasterNotRunningException
  • Stack trace

    • crawl.InjectorJob: InjectorJob: org.apache.gora.util.GoraException: java.io.IOException: java.sql.SQLException: Index column size too large. The maximum column size is 767 bytes. at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:167) at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135) at org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:75) at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:221) at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:251) at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:273) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.main(RunJar.java:160) Caused by: java.io.IOException: java.sql.SQLException: Index column size too large. The maximum column size is 767 bytes. at org.apache.gora.sql.store.SqlStore.createSchema(SqlStore.java:226) at org.apache.gora.sql.store.SqlStore.initialize(SqlStore.java:172) at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102) at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161) ... 12 more Caused by: java.sql.SQLException: Index column size too large. The maximum column size is 767 bytes. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2427) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2345) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2330) at org.apache.gora.sql.store.SqlStore.createSchema(SqlStore.java:224)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 3 weeks ago
    Once, 1 month ago
    Once, 1 month ago
    2 times, 2 months ago
    4 times, 2 months ago
    153 more bugmates