Member since
01-15-2015
313
Posts
28
Kudos Received
25
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1063 | 10-19-2021 12:04 AM | |
4293 | 10-18-2021 11:54 PM | |
1587 | 05-04-2021 02:38 AM | |
6036 | 11-19-2020 05:48 AM | |
6068 | 11-18-2020 12:08 AM |
02-23-2022
11:14 PM
2 Kudos
There is an API endpoint for starting all roles on a host: https://archive.cloudera.com/cm7/7.2.4/generic/jar/cm_api/apidocs/resource_ClouderaManagerResource.html#resource_ClouderaManagerResource_ClouderaManagerResourceV41_hostsStartRolesCommand_POST For stopping all roles on a host, you have to iterate in your script/code over all role instances deployed on the host, and stop them one after the other.
... View more
12-14-2021
11:56 PM
Hi Matt, assuming you want to enable external authentication to LDAP in Cloudera Manager. Please find steps in the product documentation here for 6.x and here for 7.x The steps you listed seem about right and should work. I suggest to verify if CM makes use of this JDK in the CM -> Support -> About page, and if necessary follow the steps in documentation to explicitly set the -Djavax.net.ssl.trustStore and -Djavax.net.ssl.trustStorePassword startup properties.
... View more
10-19-2021
12:04 AM
There are several options for you here, you have to pick one that best matches your requirements. If you are looking to backup your HDFS data but don't have capacity for a DR cluster, then backup to AWS S3 may be an option for you. Requires a cluster upgrade to later 5.x version, though, as this option is not there on 5.4 version. Besides that, if you are able to completely restore the cluster nodes from your filesystem backups then you will be able to restore your HDFS data.
... View more
10-18-2021
11:54 PM
Starting/stopping cluster or services (and many other actions) will be done in Cloudera Manager UI or using the Cloudera Manager API The CM API can be used from curl commands in a shell script or when using the bindings from a Python script or Java code.
... View more
05-04-2021
02:38 AM
1 Kudo
Try something like # curl -u admin "http://$cmhost:7180/api/v33/clusters/Cluster%201/services/IMPALA-1/impalaQueries?filter=(query_state=RUNNING%20and%20query_duration>=1000)&from=2021-05-04T00:00:00.00Z"
... View more
11-23-2020
01:34 AM
1 Kudo
Great to hear @SuryaDilip ! Although I noticed my last update was not complete, I referenced the CM -> Administration -> Settings -> Category: Ports and Addresses -> Cloudera Manager Hostname Override configuration property.
... View more
11-19-2020
05:48 AM
1 Kudo
Thanks @SuryaDilip Lets try for a test to set CM -> Administration -> Settings -> Category: Ports and Addresses to the actual FQDN of the CM host. This needs a restart of CM server. After that change, update Alert Publisher config and re-enter the mail server hostname again, and restart Alert Publisher. Do you see the same exception in the Alert Publisher logs then, for a test alert?
... View more
11-18-2020
12:08 AM
1 Kudo
Thank you. That confirms alert email delivery fails because there is no SMTP daemon listening on localhost:25. I suspect there is a name resolution issue. Is the mail server hostname the host where CM is installed on, or a different host? Please login to CM, change the url in browser location bar to /cmf/debug/jmx and grep for MBeanServerId, does that show localhost or the correct hostname? What do those commands show: # getent hosts <mail server hostname> # getent hosts <cm server hostname> # getent hosts localhost
... View more
11-17-2020
01:12 AM
2 Kudos
Username/password is not strictly required for sending mails. This is not the cause for the issues you are seeing. Check the Alert Publisher logs for errors at the time when you hit the Send Test Alert button, there will be related errors shown why email delivery doesn't work yet.
... View more
08-10-2020
01:43 AM
2 Kudos
CM does not start up because it can't connect to the backend database. Did you do a trial installation using cloudera-manager-installer.bin? Or did you you install using custom installed Postgresql database? Please check if the database is up and running, and you can connect to it from CM host.
... View more