ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Nettleton (JIRA)" <>
Subject [jira] [Updated] (AMBARI-8934) Blueprints: Deploying Blueprint with Hive fails due to ordering issues
Date Sat, 27 Dec 2014 04:30:13 GMT


Robert Nettleton updated AMBARI-8934:
    Attachment: AMBARI-8934.patch

Uploaded version 1 of the patch.

> Blueprints: Deploying Blueprint with Hive fails due to ordering issues
> ----------------------------------------------------------------------
>                 Key: AMBARI-8934
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Nettleton
>            Assignee: Robert Nettleton
>             Fix For: 2.0.0
>         Attachments: AMBARI-8934.patch
> Attempting to deploy a Blueprint that includes HIVE is currently broken.  
> When the server attempts to install/startup the MYSQL_SERVER component, the following
exception is logged in ambari-server.log:
> 03:01:16,381  INFO [qtp565252965-94] HeartBeatHandler:551 - State of service component
MYSQL_SERVER of service HIVE of cluster clusterone has changed from INSTALLED to STARTED at
> 03:02:25,117 ERROR [Thread-20] ClusterImpl:2331 - Invalid transition
> org.apache.ambari.server.state.fsm.InvalidStateTransitionException: Invalid event: HOST_SVCCOMP_START
> at org.apache.ambari.server.state.fsm.StateMachineFactory.doTransition(
> at org.apache.ambari.server.state.fsm.StateMachineFactory.access$300(
> at org.apache.ambari.server.state.fsm.StateMachineFactory$InternalStateMachine.doTransition(
> at org.apache.ambari.server.state.svccomphost.ServiceComponentHostImpl.handleEvent(
> at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(
> at org.apache.ambari.server.state.cluster.ClusterImpl.processServiceComponentHostEvents(
> at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterce
> Recent stack defintion refactorings in the Hive area seem to have somehow modified the
ordering in which services start. In addition, the Hive "MYSQL_SERVER" component appears to
startup at install time.  This triggers the ambari-server's HeartbeatHandler to set the component's
state directly, which causes the above exception in the state machine code.  
> I'm working on a fix for this, and will be submitting a patch shortly.  

This message was sent by Atlassian JIRA

View raw message