Member since
06-06-2019
10
Posts
0
Kudos Received
0
Solutions
11-07-2019
08:43 AM
Exactly I wanted! Thank you @EricL
... View more
11-06-2019
08:12 PM
I'd like to use API to set CM monitoring thresholds so I can deploy the modified ones on other CMs. For example, to set 'Cloudera Manager Agent Log Directory Free Space Monitoring Absolute Thresholds' Warning at 5GB and Critical to 2GB instead of using the default values.
I am not sure with API to use by looking at this webpage: https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/index.html
Would anyone provide some help?
Thanks,
Kevin
... View more
Labels:
- Labels:
-
Cloudera Manager
07-19-2019
05:08 PM
Thank you @bgooley
... View more
07-18-2019
05:33 AM
I just started using cm_client python for swagger v32. I wonder if I missed something because I found some simple task seemed quite hard to accomplish as a new API user.
For example, I am trying to use the API to set a Yarn configuration mapreduce.job.split.metainfo.maxsize. In CM GUI I can go to YARN - Configuration - search for such a setting and then update it, quite simple. However, in order to do it in API, I was not sure which "update_config" I should use because there are many of them. I tried "serviceResourceAPi.update_service_config( )" for yarn service but the specific setting was not there. then I thought I should try update_role_config or update_role_config_group. Then I realized I had to inpect the many "read_config" output manually to find out which API may be relavent to the parameter. I could not do it programly because I was not sure how the setting/parameter would be called in API - maybe mapreduce.job.split.metainfo.maxsize would be called mapreduce_job_split_metainfo_max_size or something else.
Am I on a wrong path? how does savy developers find out which API to use to update each specific parameters?
Thanks
... View more
Labels:
- Labels:
-
Apache YARN
-
Cloudera Manager
-
MapReduce
07-17-2019
07:41 PM
Sorry @Consult I did not notice your question until now. The business case is simple. Now a days many people do not use password to login to their window workstation. They use pin/with PIV card, face id, finger print, etc. to login to desktop. Some government agancies do not even give password to users to enforce users not to use password. Now after login to the desktop account, the user need to login to cloudera CM with the same AD account they used to login to windows. but they don't have the password for the AD account, what can they do?
... View more
06-07-2019
10:05 AM
Thank for confirming this.
... View more
06-06-2019
07:23 PM
Is it possible to use Kerberos ticket to login into Cloudera Manager Admin Console? I can only see the instruction for enabling http web-console for Hadoop roles but not for admin console: https://www.cloudera.com/documentation/enterprise/6/latest/topics/cm_sg_web_auth.html Step 9: (Optional) Enable Authentication for HTTP Web Consoles for Hadoop Roles Authentication for access to the HDFS, MapReduce, and YARN roles' web consoles can be enabled using a configuration option for the appropriate service. To enable this authentication: From the Clusters tab, select the service (HDFS, MapReduce, or YARN) for which you want to enable authentication. Click the Configuration tab. Select Scope > service name Service-Wide. Select Category > Security. Type Enable Kerberos in the Search box. Select Enable Kerberos Authentication for HTTP Web-Consoles. Enter a Reason for change, and then click Save Changes to commit the changes. When the command finishes, restart all roles of that service.
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Kerberos