Delete Unexpected 127.0.0.1 from Cloudera Manager

I have cloudera manager 5.0.0 installed in my small cluster, tried to delete some nodes and then found cloudera manager not working, exceptions thrown in the landing page and 500 in the hosts page, almost null pointer exception everywhere. Next time when I restart cm and log into CM, agent upgrading guide begins again. Here … Continue reading “Delete Unexpected 127.0.0.1 from Cloudera Manager”

Cloudera Manager Drop Database/User on Embedded Postgresql

First, you have to find out where the password locates. https://gist.github.com/mrmichalis/5984131 I ran these on which Cloudera Manager locates.

The cloudera-scm is the superuser. And the first line in that file is the password. To drop a database, dropdb is the command:

Commands may like:

To drop a user, using dropuser: … Continue reading “Cloudera Manager Drop Database/User on Embedded Postgresql”

Manually Upgrade CDH 5.2 in CM 5

I was interrupted again when upgrading CDH. HDFS This time, NameNode was not started, I have to bring them up and resume the upgrade progress. I didn’t save any log about NN’s error, stop all HDFS components and ran ‘Upgrade HDFS Metadata‘, then start HDFS.

YARN Next, YARN. I started YARN, and then all … Continue reading “Manually Upgrade CDH 5.2 in CM 5”