You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/03/28 15:28:52 UTC

[jira] [Resolved] (AMBARI-10245) Ambari-server doesn't run on MySQL : Table 'ambari.metainfo' doesn't exist

     [ https://issues.apache.org/jira/browse/AMBARI-10245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-10245.
--------------------------------------
    Resolution: Fixed

Committed to trunk

> 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)