Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Apache Spot with Cloudera Director

Apache Spot with Cloudera Director

New Contributor

I am trying to install apache- spot with a Cloudera virtual machine following this guide:

 

http://blog.cloudera.com/blog/2018/02/apache-spot-incubating-and-cloudera-on-aws-in-60-minutes/

 

I installed cloudera-director-client and server on my ec2 instance created with aws, i already created a env.sh file with all the variables and sourced it. But when i run:

 

cloudera-director bootstrap-remote spot-director.conf

 

i get this error message:

 

java.net.ConnectException: Failed to connect to localhost/127.0.0.1:7189

 

Anyone can help me?

1 REPLY 1
Highlighted

Re: Apache Spot with Cloudera Director

Expert Contributor

Hi ratek20,

 

The blog post uses the "bootstrap" command, not the "bootstrap-remote" command:

 

cloudera-director bootstrap spot-director.conf

The "bootstrap" command does all the work in the client, while "bootstrap-remote" makes the client call on the server to do the work. If you want to use "bootstrap-remote" instead, then start the Director server so it is listening on port 7189. Then, when running the client, pass the username and password for admin access to the server, e.g.:

 

cloudera-director bootstrap-remote spot-director.conf --lp.remote.username=admin --lp.remote.password=admin