Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cloudera Manager is not opening in Quickstart vm

avatar
Explorer

Hi ,

   I have downloaded quickstart Vm 5.8.0-0 Virtual Box.

   When I am opening cloudera Manager, it is trying to connect to cloudera Manager.

   it is not opening the cloudera Manager and just telling attempting to connect to cloudera manager.

   I have assigned 8GB to this Virtual application. Then why is it not opening ?

 

 

1 ACCEPTED SOLUTION

avatar
Community Manager

Lets get some additional information so others can help you faster. Can you describe the current system you have the VM set up on (RAM, Processors, Etc) as well as what has been allocated to the VM?  

 

Here is a community article that you may also want to review to ensure the VM is set up correctly.

 

How to setup Cloudera Quickstart Virtual Machine

 

For eample in this situation:

 

Cloudera Manager is installed in the VM but is turned off by default. If you would like to use Cloudera Manager, open theLaunch Cloudera Manager icon on the desktop. It is strongly recommended that before you do so, you configure the VM with a minimum of 8 GiB of RAM and 2 virtual CPU cores (by default it will use 4 GiB of RAM and 1 virtual CPU core). Cloudera Manager and all of the CDH services might not launch properly with less RAM. After launching Cloudera Manager, all of the services in CDH are started, although it might take several minutes for Cloudera Manager to start all of the services. To conserve resources and improve performance, it is recommended that you stop services you do not plan to use. Changes made to configuration files before launching Cloudera Manager are not preserved.

 

You can start or reconfigure any installed services using the web interface that is automatically displayed when the VM starts.


Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

15 REPLIES 15

avatar
Explorer

Yeah, I had the same problem and I found the culprit in this log, thanks.

 

When trying to start cloudera-scm-server it started correctly (apparently, it says OK in green), but it wasn't started. In the log /var/log/cloudera-scm-server/cloudera-scm-server.log I could see this error:

 

java.sql.SQLException: Access denied for user 'cm'@'localhost' (using password: YES)

I was working with the VM with no problem days before and I didn't change anything. Why it just stopped working? I don't know. But with this post I tried root user instead of cm (changing /etc/cloudera-scm-server/db.properties file) and it worked! 🙂

 

After changing the db.properties file I had to restart the services doing this:

  1. sudo service cloudera-scm-server restart
  2. sudo service cloudera-scm-agent restart
  3. sudo /home/cloudera/cloudera-manager --force --express

 

Hope it helps!

 

 

avatar
Explorer

Now Hue doen't work... another password problem:

 

OperationalError: (1045, "Access denied for user 'hue'@'localhost' (using password: YES)")

 

I don't get it, I didn't change the password after the first Hue login.

 

The way to get the password is (if I am right):

 

  1. /var/run/cloudera-scm-agent/process/163-hue-HUE_SERVER/hue.ini
  2. /var/run/cloudera-scm-agent/process/163-hue-HUE_SERVER/altscript.sh sec-5-password
  3. /var/run/cloudera-scm-agent/process/163-hue-HUE_SERVER/creds.localjceks" "${ALIAS}

 

creds.localjceks is a binary file, so I don't know what password is set in order to change hue password in linux account (I'm not sure if would fix the problem).

 

Cloudera Manager can't start Hue server because this error, how can I fix Hue?

 

Thanks

 

PD: There is no need for password as I can test trying logging with hue user with mysql... so I tried to comment password line (previous 2º item) and still it is setting the pass. n-hue-HUE_SERVER is created when startint Hue server... so I need to find the original config.

avatar
Champion

try using cloudera / cloudera for both username / password.

let me know if that helps

avatar
Explorer

The user/pass cloudera doesn't work in mysql, but even if it would worked it won't solve my problem.

 

The thing is, why suddently the access to cm/hue's mysql stop working? I mean 'cm'@'localhost' failed and I had to use root user. Now with HUE I can't use Hue user with the defined password.

 

In order to continue using cloudera VM I have created another VM and works well.

 

Thanks

avatar
New Contributor
By using cloudera vm im having an error like server virtual disk error i cannot copy and paste from linux to cloudera

avatar
New Contributor

HI,

 

I Have downloaded clodera quickstart 5.13.x and allocated 9 gb ram and 2 processors

Still i am facing hangout issue when i am open cloudera manager,

Could you please help on this issue

 

Thanks,

Madhan