Member since
11-08-2018
96
Posts
3
Kudos Received
2
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 11867 | 09-12-2019 10:04 AM | |
| 7124 | 02-12-2019 06:56 AM |
07-28-2020
07:45 AM
2 Kudos
Hi @kvinod , All of the supported versions of CDH and other Cloudera technology can be found here: https://www.cloudera.com/legal/policies/support-lifecycle-policy.html If you are going for a new deployment I recommend the latest distribution from Cloudera - the Cloudera Data Platform (CDP). CDP supersedes the CDH distribution. Regards, Steve
... View more
12-13-2019
09:02 AM
Hi @kvinod ,
Here is the snippet from the article:
For CM 5.13.x and below, use the following process to remove the license manually from the database.
1. Log in to Cloudera Manager and stop the Cloudera Management Services. (Host Monitor, Event server, Alert Publisher, etc)
2. From the Cloudera Manager server shell, Stop Cloudera Manager.
service cloudera-scm-server stop
3. Confirm the Cloudera Managerdatabase instance name and credentials. grep com.cloudera.cmf.db /etc/cloudera-scm-server/db.properties
com.cloudera.cmf.db.type=$DBTYPE com.cloudera.cmf.db.host=$DBHOST:$DBPORT com.cloudera.cmf.db.name=$DBNAME com.cloudera.cmf.db.user=$DBUSER com.cloudera.cmf.db.password=$DBPASS
For the remainder of this process the $DB variables will be used, please replace with your configured values. This document will cover $DBTYPE of Postgres or MySQL. $DBPORT may not exist in the properties file if using the default port.
4.Backup the database instance. IMPORTANT: Ensure to create the database backup for this step.
For MySQL: # mysqldump -h $DBHOST -P $DBPORT -u $DBUSER -p $DBNAME > /root/cmbak.`date +%Y-%m-%d:%H:%M`.sql
For Postgres: # pg_dump -h $DBHOST -p $DBPORT -U $DBUSER -W $DBNAME > /root/cmbak.`date +%Y-%m-%d:%H:%M`.sql
5. Log in to the database For MySQL: # mysql -h $DBHOST -P $DBPORT -u $DBUSER -p $DBNAME
For Postgres: # psql -h $DBHOST -p $DBPORT -U $DBUSER -W $DBNAME
Type the $DBPASS when requested.
6. Update the record to remove the license key. update CONFIGS set VALUE = '' where ATTR = 'license_key'; 7. Confirm the license key is removed.
select CONFIG_ID, ATTR, VALUE from CONFIGS where ATTR = 'license_key'; +-----------+-------------+-------+ | CONFIG_ID | ATTR | VALUE | +-----------+-------------+-------+ | 79 | license_key | | +-----------+-------------+-------+ 1 row in set (0.00 sec)
8. Quit database:
For MySQL: mysql> quit For Postgres: scm> \q
9. Start Cloudera Manager from the server shell: service cloudera-scm-server start
10. Login to Cloudera Manager and start the Cloudera Management Services. (Host Monitor, Event server, Alert Publisher, etc)
11. Restart the cluster services to confirm everything is okay.
Thanks and hope this helps,
Li
... View more
09-13-2019
05:51 AM
@kvinod Good then close the thread. It's always a good idea to have an external database to host not only the CM/Ambari database but also Oozie, hive, ranger etc in a multitenant architecture and maybe backup the database host periodically to avoid having your backend databases all over the cluster. 20 cents advice !
... View more
02-12-2019
06:56 AM
Hello thanks for your responce, Actually the issue is resolved and its JournalNodeEdits directory permission issue. So i have modified it and restarted Jornalnodes and started successfully. NN's are also came back and able to see all other dependent services. Thanks again 🙂
... View more