Comments (4)
I suspect the problem is that Ambari is not set to run with Java 8. You can set the JDK used by Ambari through the java.home
property in /etc/ambari-server/conf/ambari.properties
. However I don't know if this will propagate to the Ambari agents (and Presto workers) so they start using that JDK as well. I'm currently trying to reproduce this locally to make sure the agents start using the right JDK as well. I'll comment here again with my findings once I know more.
from ambari-presto-service.
So I just tried installing Presto with Ambari running JDK 7 and the installation failed, albeit at a different point. The installation failed when trying to install the RPM, which is before starting Presto. The reason why the RPM installation fails is because the RPM preinstall scripts checks the system for Java 8 and if it can't find any, it fails. So I don't know how you got yourself in a state where you managed to install the Presto RPM but then the start script can't find the right Java.
After my little experiment, I edited java.home
in /etc/ambari-server/conf/ambari.properties
on the Ambari master to point to the JDK 8 that Ambari downloaded in /usr/jdk64/jdk1.8.0_60/
. I then re-installed one of the Presto workers, whose installation had previously failed, and it succeeded. That node now also has Java 8 in /usr/jdk64/jdk1.8.0_60/
, whereas before it didn't. I think Ambari transparently copied the JDK over when it detected that the slave didn't have it.
What do you get when you run java -version
on the node where Presto failed to start?
from ambari-presto-service.
My bad, Ambari will NOT copy over the JDK. You need to have it installed in the same location on all nodes. So if you set java.home
to /usr/jdk64/jdk1.8.0_60/
, that JDK needs to be in that location on all nodes.
from ambari-presto-service.
I guess the issue was that I was first installing the ambari-server, setting it up, starting it and afterwards installing the ambari-presto-service and then restart the server. Also somehow there woas java version "1.8.0_45" on it. After removing it and starting from scrach everything works perfect. Thanks for your help!
from ambari-presto-service.
Related Issues (15)
- Add native upgrade capability to this Ambari - Presto integration HOT 3
- add Ubuntu support HOT 8
- Add support for configuration groups
- Add Screen Shots to Ambari documentation
- use Ambari to have different configurations for different sets of machines
- Adding Presto service to Amabri 2.4.1.0 HOT 1
- Centos7:resource_management.core.exceptions.ExecutionFailed: Execution of '/etc/init.d/presto start' HOT 2
- Debian support for Presto Plugin HOT 1
- Restart presto failed in Ambari 2.5 HOT 1
- Presto installation with ambari in HDP 2.6.3 HOT 1
- When presto down dont get alerts
- Configuration changes to hive connector - restart
- the scrips of start presto bug
- hosts number check failed on ambari 2.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ambari-presto-service.