Member since
05-31-2022
1
Post
0
Kudos Received
0
Solutions
06-06-2022
01:08 AM
Hi Everyone, This is Venkata Surya Prakash, I am new to this cloudera community channel as well as to this technology. I have seen the above query regarding the connection issues of Cloudera Manager, When I see that, I just recollected all my tries on fixing the same issue when I was a bootcamper. And here are the steps when you face this issue: Firstly, Make sure that you open the Terminal and execute the following commands; [cloudera@quickstart ~]$ mysql -uroot -pcloudera Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 234 Server version: 5.1.73 Source distribution Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE USER 'oozie'@'localhost' IDENTIFIED BY 'cloudera'; Query OK, 0 rows affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON *.* TO 'oozie'@'localhost' WITH GRANT OPTION; Query OK, 0 rows affected (0.00 sec) mysql> CREATE USER 'cm'@'localhost' IDENTIFIED BY 'cloudera'; Query OK, 0 rows affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON *.* TO 'cm'@'localhost' WITH GRANT OPTION; Query OK, 0 rows affected (0.00 sec) Secondly, close the whole setup i.e, The cloudera instance from the VMware and even close your VMware, as it is always recommended to start a new session soon after some amendments to the instance. Thirdly, start your cloudera setup in VMware and execute the below command in the Terminal. sudo /home/cloudera/cloudera-manager --force --express (Note: If you use enterprise addison then replace --express with --enterprise) After executing the above command, have some patinece and watch the terminal (CDH will shutdown and automatically restarts on it own). You will get a success!!! message. Finally, copy the URL just below the success!! message and paste in the mozilla browser, and then hit enter. It will ask for logins both the username and passwords are: cloudera. Thats all, and wait for a few seconds cloudera manager will bootup. Please find the attached images.
... View more