ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-16460) DevDeploy: ambari-server start failed
Date Wed, 11 May 2016 19:06:12 GMT

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

Vitaly Brodetskyi updated AMBARI-16460:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk

> DevDeploy: ambari-server start failed
> -------------------------------------
>
>                 Key: AMBARI-16460
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16460
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16460.patch
>
>
> {code}
> 2016-05-11 16:51:17,485  INFO - ******************************* Check database started
*******************************
> 2016-05-11 16:51:25,237  INFO - Checking for configs not mapped to any cluster
> 2016-05-11 16:51:25,268  INFO - Checking for configs selected more than once
> 2016-05-11 16:51:25,271  INFO - Checking for hosts without state
> 2016-05-11 16:51:25,278  INFO - Checking host component states count equals host component
desired states count
> 2016-05-11 16:51:25,285  INFO - Checking services and their configs
> 2016-05-11 16:51:28,813 ERROR - Unexpected error, database check failed
> com.google.inject.ProvisionException: Guice provision errors:
> 1) Error injecting method, Exception [EclipseLink-4011] (Eclipse Persistence Services
- 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
> Exception Description: Error preallocating sequence numbers.  The sequence table information
is not complete.
>   at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:253)
>   at org.apache.ambari.server.api.services.AmbariMetaInfo.class(AmbariMetaInfo.java:133)
>   while locating org.apache.ambari.server.api.services.AmbariMetaInfo
> 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.checks.DatabaseConsistencyCheckHelper.checkServiceConfigs(DatabaseConsistencyCheckHelper.java:401)
>         at org.apache.ambari.server.checks.DatabaseConsistencyChecker.main(DatabaseConsistencyChecker.java:115)
> Caused by: Exception [EclipseLink-4011] (Eclipse Persistence Services - 2.6.2.v20151217-774c696):
org.eclipse.persistence.exceptions.DatabaseException
> Exception Description: Error preallocating sequence numbers.  The sequence table information
is not complete.
>         at org.eclipse.persistence.exceptions.DatabaseException.errorPreallocatingSequenceNumbers(DatabaseException.java:150)
>         at org.eclipse.persistence.sequencing.StandardSequence.getGeneratedVector(StandardSequence.java:73)
>         at org.eclipse.persistence.sequencing.Sequence.getGeneratedVector(Sequence.java:257)
>         at org.eclipse.persistence.internal.sequencing.SequencingManager$Preallocation_Transaction_NoAccessor_State.getNextValue(SequencingManager.java:485)
>         at org.eclipse.persistence.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:1107)
>         at org.eclipse.persistence.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:70)
>         at org.eclipse.persistence.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:362)
>         at org.eclipse.persistence.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:321)
>         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.assignSequenceNumber(UnitOfWorkImpl.java:486)
>         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4288)
>         at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:521)
>         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4233)
>         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:507)
>         at org.apache.ambari.server.orm.dao.StackDAO.create(StackDAO.java:106)
>         at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128)
>         at org.apache.ambari.server.stack.StackManager.<init>(StackManager.java:136)
>         at org.apache.ambari.server.stack.StackManager$$FastClassByGuice$$33e4ffe0.newInstance(<generated>)
>         at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
>         at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
>         at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
>         at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>         at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>         at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
>         at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
>         at com.sun.proxy.$Proxy27.create(Unknown Source)
>         at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:257)
>         at org.apache.ambari.server.api.services.AmbariMetaInfo$$FastClassByGuice$$202844bc.invoke(<generated>)
>         at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
>         at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message