Closed stev-0 closed 9 years ago
I have tried on Linux as well and I get similar problems. I also have problems getting into the machine via ssh, but when I do manage (usually via the cloud SSH console), again hadoop is not installed.
Some of the SSH errors I am receiving are:
WARNING: You do not have an SSH key for Google Compute Engine.
WARNING: [/usr/bin/ssh-keygen] will be executed to generate a key.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
ERROR: (gcloud.compute.ssh) Could not SSH to the instance. It is possible that your SSH key has not propagated to the instance yet. Try running this command again. If you still cannot connect, verify that the firewall and instance are set to accept ssh traffic.
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
I realise this isn't a help forum but I am struggling here and would be happy to contribute back to the docs if someone could give me a pointer in the right direction. Looking at the source code, it does seem that the create_cluster function isn't returning due to the ssh problems so looks like a need a hand with my SSH keys. I have tried using existing keys, letting the software generate new keys with and without passphrases and adding existing SSH keys (or ones generated by the script) to the project metadata before deploying the cluster. None of this seems to work and I have only been able to get in through the console.
It was as simple as one command (ssh-add
) on my Fedora 22 box - via this: https://stackoverflow.com/questions/28201353/cannot-ssh-into-instance-using-gcloud/28202175#28202175. I will be happy to add some information to the readme if you think that's appropriate - it took me long enough to solve!
I am using Cygwin and trying to create an HDP using the command
./bdutil -e platforms/hdp/ambari_env.sh deploy
. All my instances and disks are built fine, and I am able to SSH into the machine, but there is absolutely no Hadoop stack there at all. I can see by running yum search that there is no haddop repository enabled, so assume that is the problem.There is no error message indicating anything had failed. I get the following output:
I will try on Linux and test, assume it may be something to do with Cygwin.