[
https://issues.apache.org/jira/browse/AMBARI-10245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385373#comment-14385373
]
Hudson commented on AMBARI-10245:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2138 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2138/])
AMBARI-10245. Ambari-server doesn't run on MySQL : Table 'ambari.metainfo'
doesn't exist (aonishuk) (aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=de6ff03f0bd09e2f6066f062eae87490e572559e)
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
> Ambari-server doesn't run on MySQL : Table 'ambari.metainfo' doesn't exist
> --------------------------------------------------------------------------
>
> Key: AMBARI-10245
> URL: https://issues.apache.org/jira/browse/AMBARI-10245
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> Start ambari-server failed with error
>
>
>
> 25 Mar 2015 23:54:05,115 ERROR [main] AmbariServer:690 - Failed to run
> the Ambari Server
> com.google.inject.ProvisionException: Guice provision errors:
>
> 1) Error injecting method, Exception [EclipseLink-4002] (Eclipse
> Persistence Services - 2.5.2.v20140319-9ad6abd):
> org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception:
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table
> 'ambari.metainfo' doesn't exist
> Error Code: 1146
> Call: SELECT `metainfo_key`, `metainfo_value` FROM metainfo WHERE
> (`metainfo_key` = ?)
> bind => [1 parameter bound]
> Query: ReadObjectQuery(name="readMetainfoEntity"
> referenceClass=MetainfoEntity sql="SELECT `metainfo_key`, `metainfo_value`
> FROM metainfo WHERE (`metainfo_key` = ?)")
> at
> org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:230)
> at
> org.apache.ambari.server.api.services.AmbariMetaInfo.class(AmbariMetaInfo.java:117)
> while locating org.apache.ambari.server.api.services.AmbariMetaInfo
> for field at
> org.apache.ambari.server.controller.AmbariServer.ambariMetaInfo(AmbariServer.java:128)
> at
> org.apache.ambari.server.controller.AmbariServer.class(AmbariServer.java:128)
> while locating org.apache.ambari.server.controller.AmbariServer
>
> 1 error
> at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
> at
> com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
> at
> org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:683)
> Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services -
> 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception:
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table
> 'ambari.metainfo' doesn't exist
> Error Code: 1146
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)