Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cannot start services in CDH4.

Highlighted

Cannot start services in CDH4.

Explorer

All the services were successfully started in case of the 'First Run'.

However, Since my RedHat6.5 in VMWare got too slow, I had to forcefully shut down and restart.

After that I restarted my Cloudera Manager.

However, I am unable to start any services after that.

It is trying to start Zookeeper first, and the start command is failing with error due to timeout after 150 seconds.

 

What might be my possible messups?

10 REPLIES 10
Highlighted

Re: Cannot start services in CDH4.

Verify if the agent is running. If needed, start it

# service cloudera-scm-agent status

Regards,
Gautam Gopalakrishnan
Highlighted

Re: Cannot start services in CDH4.

Explorer

It says this:

cloudera-scm-agent dead but pid file exists

Highlighted

Re: Cannot start services in CDH4.

Please try a start of the agent

# service cloudera-scm-agent start

Regards,
Gautam Gopalakrishnan
Highlighted

Re: Cannot start services in CDH4.

Explorer

Yes, I already did that.

After doing that it showed all the services are being Started.

However, only some of the services viz. Hive, Hue, Oozie, Sqoop are now being shown with Green Health Status.

The status of other services is still unknown.

Is there any other method to check if the services are running?

Let me try jps in the terminal.

 

Highlighted

Re: Cannot start services in CDH4.

Explorer

I did jps and following is my output. Shall I kill some of the processes?

[root@rhcdh ~]# /usr/java/jdk1.6.0_31/bin/jps
4783 JobTracker
4978 Bootstrap
5251 Bootstrap
5114 AlertPublisher
4511 HMaster
5135 Main
5085 Main
5154 EventCatcherService
4137 QuorumPeerMain
3667 Main
4174 NameNode
5190 NavigatorMain
5666 
4200 SecondaryNameNode
5416 RunJar
5653 
5059 Main
5989 RunJar
4184 DataNode
5175 HeadlampServer
4459 HRegionServer
7370 Jps
4755 TaskTracker

 

Highlighted

Re: Cannot start services in CDH4.

How much RAM does your VM have? Looks like you're running all services from the CDH parcel. When you see that a service is unhealthy, open the service and check the cause of bad health. What is HDFS complaining about?

Regards,
Gautam Gopalakrishnan
Highlighted

Re: Cannot start services in CDH4.

Explorer

The problem seems to be

    Unable to issue query: request to the Service Monitor timed out
    Internal error while querying the Service Monitor

 The problem is, CM is unable to determine the health. Except some warnings (like minimum 3 nodes suggested, 1GB for each node) I don't see any major health issues. The screenshot is like this.

rhcdh4.png

Highlighted

Re: Cannot start services in CDH4.

Not sure why but the management services might be down too, try restarting them.
Regards,
Gautam Gopalakrishnan
Highlighted

Re: Cannot start services in CDH4.

Explorer

Have tried that multiple times. :-(

Don't have an account?
Coming from Hortonworks? Activate your account here