-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hive service not working in presto #24180
Comments
@vikashmalakar275 Can you please add an issue description? |
I have follow the below steps: working on centos: docker run -it --name prestotesting -p 8047:8047 -p 8080:8080 -p 8043:8043 -p 31010:31010 -p 10000:10000 -p 9083:9083 --detach prestodb/presto:latest Login as root: follow all the below process in root user: yum update Generate the missing host keys ssh-keygen -A This will create the required keys in /etc/ssh/. start ssh service: install openjdk-8 mkdir /opt/hadoop cd /opt/hadoop cd /opt/hive export HADOOP_HOME=/opt/hadoop/hadoop-3.4.0 cd $HIVE_HOME/lib chmod -R 777 /opt Login as prestouser: follow all the steps below in prestouser if prestouser is not present, login as root and create this: use this: ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa export HADOOP_HOME=/opt/hadoop/hadoop-3.4.0 Edit: edit: In above core-site.xml file hadoop.proxyuser.drilluser.hosts and hadoop.proxyuser.drilluser.groups follows format hadoop.proxyuser..groups in my case it is "root" Setup schema: start service: For Debugging logs are present in /tmp/root/hive.log $HIVE_HOME/bin/beeline -n prestouser -u jdbc:hive2://localhost:10000/default;transportMode=http;httpPath=cliservice add hive service: cretae file = hive.properties & sen.properties connector.name=hive-hadoop2 error: $HIVE_HOME/bin/beeline -n prestouser -u jdbc:hive2://localhost:10000/default;transportMode=http;httpPath=cliservice 2024-12-02 11:15:52 2024-12-02T05:45:52.015Z INFO main com.facebook.presto.server.PrestoServer ======== SERVER STARTED ======== My goal is to tun Presto and hive service both in same container to test PrestoODBC Driver. But i am not able to achive that. If you have steps to do for the same. CAn you please share ? |
Your Environment
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
Screenshots (if appropriate)
Context
The text was updated successfully, but these errors were encountered: