Skip to content
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

presto-admin keeps asking for a password #382

Open
exolab opened this issue Jul 3, 2019 · 0 comments
Open

presto-admin keeps asking for a password #382

exolab opened this issue Jul 3, 2019 · 0 comments

Comments

@exolab
Copy link

exolab commented Jul 3, 2019

I am trying to run presto-admin on an AWS EMR cluster. Even though I think I have tried everything, it does not seem to be possible to get presto-admin to correctly authenticate with the nodes involved.

I can ssh to the master and nodes without a password (as either of the users 'hadoop', 'root' or 'ec2-user'). I can ssh from the master (where presto-admin is installed) to the core nodes without a password (as either of the users).

I have set a password:
sudo su -c 'echo "hadoop:blablabla" | chpasswd'

To avoid confusion, I have done that on all the nodes.

If I try using presto-admin as 'hadoop', using serial mode, I get asked for a password for 'hadoop':

[hadoop@ip-xyz ~]$ presto-admin -i /home/hadoop/.ssh/id_rsa catalog add my-catalog 
Deploying my-catalog.properties catalog configurations on: ec2-xyz.eu-central-1.compute.amazonaws.com 
[ec2-xyz.eu-central-1.compute.amazonaws.com] Login password for 'hadoop':

When I enter the password I have set previously, it does not work, nor give me an error. It just keeps asking for the password.

I have also tried running presto-admin as ec-user and root.

My config looks as follows

{
  "username": "hadoop",
  "port": "22",
  "coordinator": "ec2-xyz.eu-central-1.compute.amazonaws.com",
  "workers": ["ec2-abc.eu-central-1.compute.amazonaws.com", "ec2-def.eu-central-1.compute.amazonaws.com"],
  "java8_home":"/usr/bin/java"
}

This may well not be an issue, as it seems to be working for other people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant