2

我从 master 分支创建了一个 rpm,并将其安装在我的 HDP 2.4 沙箱上,并带有 Kylo 的 mysql 默认元存储。启动 kylo 服务后,我遇到了以下问题。有没有人遇到过这个?

Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set classpath:com/thinkbiganalytics/db/changelog/0.0.0/2017-03-24-1135-automated-export.xml::1490096811017-68::ru186002 (generated):
     Reason: liquibase.exception.DatabaseException: Specified key was too long; max key length is 1000 bytes [Failed SQL: CREATE INDEX NN_EXEC_PARAMS_STRING_VAL ON kylo.BATCH_JOB_EXECUTION_PARAMS(KEY_NAME, STRING_VAL)]
        at liquibase.changelog.ChangeSet.execute(ChangeSet.java:619)
        at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:51)
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:79)
        at liquibase.Liquibase.update(Liquibase.java:214)
        at liquibase.Liquibase.update(Liquibase.java:192)
        at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:431)
        at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:388)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
        ... 16 more
4

1 回答 1

0

问题可能是 Kylo 需要更新版本的 MySQL 服务器。

您可以尝试进行手动数据库升级并修改 SQL 脚本以使用更短的密钥: http: //kylo.readthedocs.io/en/latest/how-to-guides/DatabaseUpgrades.html

于 2017-05-25T17:34:22.197 回答