Comments (1)
Hi,
i am trying to install prestodb in hdp2.6.3.
i am getting error for presto worker install
error:
resource_management.core.exceptions.ExecutionFailed: Execution of 'export JAVA8_HOME=/usr/jdk64/jdk1.8.0_112 && rpm -i /tmp/presto-server-rpm-0.161.rpm' returned 1. package presto-server-rpm-0:0.161-1.x86_64 is already installedsteps followed for installing presto service:-
Steps:-
download ambari-presto-1.2.tar.gz
create directory PRESTOmkdir /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO
cd /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO/
untar ambari-presto in recently created directory
tar -xvf ambari-presto-1.2.tar.gz -C /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO/
move ambari-presto files in PRESTO/
mv /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO/ambari-presto-1.2/* /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO
remove ambari-presto
rm -rf /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO/ambari-presto-1.2
chmod -R +x /var/lib/ambari-server/resources/stacks/HDP/2.6/services/PRESTO/*
change below files in configs
- /etc/ambari-server/conf/ambari.properties :-
"agent.package.install.task.timeout=5000"- even after this you may get a error regarding jdk version incompatibility
https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_the_jdk_version_on_an_existing_cluster.html
steps followed to resolve thisambari-server setup
select option to configure jdk and install jdk 1.8 update
ambari-server restart
login to ambari UI
Click on add service
select Presto click next
followed configurations as per https://prestodb.io/ambari-presto-service/getting-started.html
added :- - jvm.config add :- "-DHADOOP_USER_NAME=hive"Error log for Presto worker install:-
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.6/services/PRESTO/package/scripts/presto_worker.py", line 74, in
Worker().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 367, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.6/services/PRESTO/package/scripts/presto_worker.py", line 28, in install
Execute('export JAVA8_HOME={0} && rpm -i /tmp/{1}'.format(java_home, PRESTO_RPM_NAME))
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in init
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'export JAVA8_HOME=/usr/jdk64/jdk1.8.0_112 && rpm -i /tmp/presto-server-rpm-0.161.rpm' returned 1. package presto-server-rpm-0:0.161-1.x86_64 is already installedThanks,
Sharda
you rpm is already installed
you can rpm -qa|grep "presto" to find which rpm you installed
then rpm -e YOU_RPM
from ambari-presto-service.
Related Issues (15)
- Installation fails: launcher: error: --launcher-config option requires an argument HOT 4
- 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
- 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.