Member since
05-03-2017
37
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2829 | 08-09-2017 12:05 AM |
08-10-2017
12:01 AM
Hello, Is this article: http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/ In the step3 ("configuring HDFS") I just get errors and errors. My conditions matched ok with this new configuration. Any question let me know
... View more
08-07-2017
02:58 AM
After adding the "classpath" when I execute, hadoop classpath, it doesn't return the path that I have added. Any ideas?
... View more
06-01-2017
05:52 AM
you are right. Working now. Thanks for your help!
... View more
05-03-2017
11:03 AM
1 Kudo
Hi, api.get_all_hosts() returns just basic information about a host by default, a SUMMARY view. You probably want the FULL view. See docs here: https://cloudera.github.io/cm_api/epydoc/5.11.0/cm_api.api_client.ApiResource-class.html#get_all_hosts If you do a simple HTTP GET on {CM_HOST:PORT}/api/v{version}/hosts you can easily see the kind of stuff returned by api.get_all_hosts(), and if you look at {CM_HOST:PORT}/api/v{version}/hosts?view=FULL you'll see you can get more details, like the role refs. For your use-case of replacing a failed node, there's significant trickiness in getting the steps just right. You may want to look into Cloudera Director, which can repair worker or gateway nodes, among many other features. Here's the doc page for repairing a node: https://www.cloudera.com/documentation/director/latest/topics/director_ui_cluster_shrink.html Thanks, Darren
... View more