cloudera manager - Error while committing the transaction

当使用Cloudera Manager编辑组件配置时,可能会遇到'Error while committing the transaction'的错误。该问题源于CM元数据库字符集不兼容,导致字段'VALUE'和'MESSAGE'无法写入。解决方法是修改元数据库的相关表,将'VALUE'和'MESSAGE'字段的字符集更改为utf8。具体操作包括修改CONFIGS, CONFIGS_AUD, GLOBAL_SETTINGS, USER_SETTINGS, AUDITS和REVISIONS表。" 80795071,5720435,Ubuntu 14.04 安装指南 - Mac & Linux,"['Linux安装', 'Ubuntu', '虚拟机', '操作系统', '分区管理']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


现象:

在用cloudera manager编辑各个组件配置的时候

有可能会出现报错信息:

Error while committing the transaction


cloudera server 端日志:


Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xE5\xB7\xB2\xE6\x9B\xB4...' for column 'VALUE' at row 1
        at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
        at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
        at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
        ... 98 more
Caused by: java.sql.SQLException: Incorrect string value: '\xE5\xB7\xB2\xE6\x9B\xB4...' for column 'VALUE' at row 1
   

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值