ambari安装过程中错误解决

问题一
ERROR: Exiting with exit code -1.
REASON: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property “server.jdbc.driver.path=[path/to/custom_jdbc_driver]” in ambari.properties.
解决办法:

将mysql的驱动包放到/usr/share/java
在/etc/ambari-server/conf/ambari.properties中添加
server.jdbc.driver.path=/usr/share/java/mysql-connector-java.jar

问题二:
Error: Package: ambari-server-2.6.0.0-267.x86_64 (ambari-2.6.0.0)
Requires: postgresql-server >= 8.1
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
解决办法:

[ambari@jesgoo-hz16 software]$ sudo rpm -ivh postgresql-libs-8.4.18-1.el6_4.x86_64.rpm
[ambari@jesgoo-hz16 software]$ sudo rpm -ivh postgresql-8.4.18-1.el6_4.x86_64.rpm
[ambari@jesgoo-hz16 software]$ sudo rpm -ivh postgresql-server-8.4.18-1.el6_4.x86_64.rpm

问题三:
You will need to run those service checks from ambari server host manually and once those service checks are successful then only you should proceed for the upgrade.
解决办法:

So please try this
Ambari UI --> HDFS --> "Service Actions" (drop down from right corner) --> Run Service check
Ambari UI --> OOZIE --> "Service Actions" (drop down from right corner) --> Run Service check
Ambari UI --> ZOOKEEPRR --> "Service Actions" (drop down from right corner) --> Run Service check
Ambari UI --> HIVE --> "Service Actions" (drop down from right corner) --> Run Service check

这里写图片描述

问题四:
The following Kafka properties should be set properly: inter.broker.protocol.version and log.message.format.version
解决办法:

inter.broker.protocol.version = 0.10.1
log.message.format.version = 0.10.1

这里写图片描述

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值