1 详细异常
Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical error at line 1, column 596. Encountered: <EOF> after : "" at net.sf.jsqlparser.parser.CCJSqlParserTokenManager.getNextToken(CCJSqlParserTokenManager.java:3124) at net.sf.jsqlparser.parser.CCJSqlParser.jj_ntk_f(CCJSqlParser.java:16771) at net.sf.jsqlparser.parser.CCJSqlParser.CreateTable(CCJSqlParser.java:9095) at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:168) at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:81) at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54) at com.zendesk.maxwell.util.ParseMySQL.toPhoenixSQL(ParseMySQL.java:123) at com.zendesk.maxwell.schema.MysqlSchemaStore.processSQL(MysqlSchemaStore.java:118) at com.zendesk.maxwell.replication.BinlogConnectorReplicator.processQueryEvent(BinlogConnectorReplicator.java:309) at com.zendesk.maxwell.replication.BinlogConnectorReplicator.processQueryEvent(BinlogConnectorReplicator.java:331) at com.zendesk.maxwell.replication.BinlogConnectorReplicator.getRow(BinlogConnectorReplicator.java:603) at com.zendesk.maxwell.replication.BinlogConnectorReplicator.work(BinlogConnectorReplicator.java:175) at com.zendesk.maxwell.util.RunLoopProcess.runLoop(RunLoopProcess.java:34) at com.zendesk.maxwell.Maxwell.startInner(Maxwell.java:222) at com.zendesk.maxwell.Maxwell.start(Maxwell.java:156) at com.zendesk.maxwell.Maxwell.main(Maxwell.java:243)
2 解决问题
处理表更改语句的sql有问题
maxwell的源代码有问题 注释掉处理表结构变更的代码,然后重新编译版本部署
原文地址:https://www.cnblogs.com/QuestionsZhang/p/12003893.html
时间: 2024-10-13 01:53:55