ambari安装oozie报错解决一例子

ambari安装oozie时报错,

resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64//bin/java -cp '/var/lib/ambari-agent/cred/lib/*' org.apache.ambari.server.credentialapi.CredentialUtil get oozie.service.JPAService.jdbc.password -provider jceks://file/var/lib/ambari-agent/cred/conf/oozie/oozie-site.jceks' returned 1. Error: Could not find or load main class org.apache.ambari.server.credentialapi.CredentialUtil

检查日志:


DownloadSource('http://node1:8080/resources/CredentialUtil.jar'), 'mode': 0755}
2018-01-31 17:23:03,643 - Not downloading the file from http://node1:8080/resources/CredentialUtil.jar, because /var/lib/ambari-agent/tmp/CredentialUtil.jar already exists
2018-01-31 17:23:03,643 - Writing File['/var/lib/ambari-agent/cred/lib/CredentialUtil.jar'] because contents don't match

2018-01-31 17:23:03,643 - checked_call[('/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64//bin/java', '-cp', u'/var/lib/ambari-agent/cred/lib/*', 'org.apache.ambari.server.credentialapi.CredentialUtil', 'get', 'oozie.service.JPAService.jdbc.password', '-provider', u'jceks://file/var/lib/ambari-agent/cred/conf/oozie/oozie-site.jceks')] {}

于是删除

rm /var/lib/ambari-agent/cred/lib/CredentialUtil.jar

rm /var/lib/ambari-agent/tmp/CredentialUtil.jar

重试,恢复正常




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值