Reply
New Contributor
Posts: 1
Registered: ‎11-12-2018

Apache Spot with Cloudera Director

[ Edited ]

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?

Highlighted
Cloudera Employee
Posts: 71
Registered: ‎02-18-2014

Re: Apache Spot with Cloudera Director

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
Announcements