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.

Error when start SAM HDF 3.2

Error when start SAM HDF 3.2

New Contributor

Ambari: 2.7.3.0

HDP: 3.1.0

HDF: 3.2.0


I want to install Streaming Analytics Manager (SAM) on HDP. I used local repository and installed SAM success. But I could not run SAM on Ambari. Error:

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.

Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource

at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:93)

at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:319)

at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:114)

at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:105)

at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:72)

Can you help me? Thank you very much.

1 REPLY 1
Highlighted

Re: Error when start SAM HDF 3.2

Mentor

@luan ha

It seems you didn't create the databases for SAM and Schema Registry Metadata

Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource

Configuring SAM and Schema Registry Metadata Stores in MySQL

Confirm the above steps were executed