ambari安装过程中错误解决

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_39478115/article/details/80708170

问题一
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

这里写图片描述

猜你喜欢

转载自blog.csdn.net/weixin_39478115/article/details/80708170