Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari/Master IP location from cloudbreak/hdc

avatar

Hi,

I automate cluster creation using hdc command. When cluster is up and running I can pull details of the cluster using

hdc describe-cluster --cluster-name my_cluster

but it returns the same json I used to set this cluster up, with no details about hostnames/ips of each worker/master/compute server.

In order to schedule some jobs I need to know how to connect to edge server (here master).

I have a workaround that uses your proxy

curl https://my-hortonworks-hdcloud/my_cluster/services/hdfs/ --insecure -v --user 'admin:password'

and I extract ip-123-456-789-012.example.com domain and based on that I can get private ip of one of the master servers that runs namenode. But I guess there should be more elegant way.

Hints?

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
1 REPLY 1

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login