FAQ
Hi Ravi,

It seems like CM is having issue when connecting to the MySQL db. What is
the content of /etc/cloudera-scm-server/db.properties? Can you use the same
credential and successfully connect to mysql db using 'msql' client (mysql
-h <host> -u <user> -p <dbname>)?

Can you also check:
1. Ownership of the /etc/cloudera-scm-server/db.properties file (ls -l
/etc/cloudera-scm-server/db.properties).
2. The state of CM service (service cloudera-scm-server status).

Cheers,
Vikas

On Thu, Feb 28, 2013 at 9:37 AM, Ravi Teja Ch N V wrote:

Hi,

I am trying to install Cloudera manager in RHEL 5.
I have configured and installed MySQL Server version: 5.6.10 MySQL
Community Server (GPL), following instructions from
https://ccp.cloudera.com/display/ENT4DOC/Installing+and+Configuring+a+MySQL+Database
.

When I started the Cloudera manager , I am not able to browse the
UI,moreover facing this exception
Can somebody help on this issue, as I have stuck on this issue for quite
some time.
Thanks in advance.


2013-02-28 09:29:55,429 WARN
[Timer-0:async.ThreadPoolAsynchronousRunner@608]
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@618eabf6-- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending
tasks!
2013-02-28 09:29:55,434 WARN
[Timer-0:async.ThreadPoolAsynchronousRunner@624]
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@618eabf6-- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@56bebb88(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@40a0a36(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2f24614c(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7d6fdcc1
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3b06433d
Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)

com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)

com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)

com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)
com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3049)
com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:597)
com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1084)
com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2465)

com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2498)
com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2283)
com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:822)
com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:404)

com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:317)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)

com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)

com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)

com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)
com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3049)
com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:597)
com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1084)
com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2465)

com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2498)
com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2283)
com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:822)
com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:404)

com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:317)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)

com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)

com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)

com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)
com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3049)
com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:597)
com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1084)
com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2465)

com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2498)
com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2283)
com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:822)
com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:404)

com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:317)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


2013-02-28 09:30:55,441 WARN
[Timer-0:async.ThreadPoolAsynchronousRunner@416] Task
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@56bebb88 (in
deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying
interrupt().
2013-02-28 09:30:55,441 WARN
[Timer-0:async.ThreadPoolAsynchronousRunner@416] Task
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@40a0a36 (in
deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying
interrupt().
2013-02-28 09:30:55,441 WARN
[Timer-0:async.ThreadPoolAsynchronousRunner@416] Task
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2f24614c (in
deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying
interrupt().
2013-02-28 09:31:36,647 WARN
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1:resourcepool.BasicResourcePool@1876]
com.mchange.v2.resourcepool.BasicResourcePool@76f1fad1 -- Thread
unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
2013-02-28 09:31:36,648 WARN
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0:resourcepool.BasicResourcePool@1876]
com.mchange.v2.resourcepool.BasicResourcePool@76f1fad1 -- Thread
unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
2013-02-28 09:31:36,647 WARN
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2:resourcepool.BasicResourcePool@1876]
com.mchange.v2.resourcepool.BasicResourcePool@76f1fad1 -- Thread
unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)



Thanks,
Ravi Teja



Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedFeb 28, '13 at 5:37p
activeFeb 28, '13 at 6:17p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Vikas Singh: 1 post Ravi Teja Ch N V: 1 post

People

Translate

site design / logo © 2022 Grokbase