rework-space-com / ambari

Apache Ambari simplifies provisioning, managing, and monitoring of Apache Hadoop clusters.
https://ambari.apache.org
Apache License 2.0
0 stars 0 forks source link

Fix spark-thriftserver installation #16

Closed Nazarii-Melnyk closed 1 month ago

Nazarii-Melnyk commented 5 months ago

While bigtop stack deploying, there are a problem with spark-thriftserver package installation. Error:

RuntimeError: Failed to execute command '/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install spark-thriftserver', exited with code '100', message: 'E: Sub-process /usr/bin/dpkg returned an error code (1)

Error that returns command systemctl status spark-thriftserver.service:

isv-s-hdp-mng-01 systemd[1]: spark-thriftserver.service: Control process exited, code=exited, status=1/FAILURE
isv-s-hdp-mng-01 systemd[1]: spark-thriftserver.service: Failed with result 'exit-code'.
isv-s-hdp-mng-01 systemd[1]: Failed to start LSB: Spark thriftserver.
Nazarii-Melnyk commented 4 months ago

After last two installations Spark was deployed without any problems. For now I closing this issue.

Nazarii-Melnyk commented 1 month ago

This error happens due missing datanucleus-* jar dependencies, which can be downloaded by installing spark-datanucleus package. There are required to add this package as dependency for spark-thriftserver package installation.

Issue in rework-space-com/bigtop repo that fixes this bug - https://github.com/rework-space-com/bigtop/issues/32