ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-7060) Ambari Falcon config setup issue - localhost must be replaced with the falcon host
Date Thu, 28 Aug 2014 15:59:08 GMT
Oleg Nechiporenko created AMBARI-7060:
-----------------------------------------

             Summary: Ambari Falcon config setup issue - localhost must be replaced with the
falcon host
                 Key: AMBARI-7060
                 URL: https://issues.apache.org/jira/browse/AMBARI-7060
             Project: Ambari
          Issue Type: Task
          Components: client
    Affects Versions: 1.7.0
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
             Fix For: 1.7.0


The broker url in startup.properties is pointing to localhost instead of the host falcon is
running in.

startup.properties
{code}
*.broker.url=tcp://localhost:61616 => *.broker.url=tcp://$FALCON_HOST:61616
{code}

This results in dropping all the JMS messages sent to Falcon and a lot of features in Falcon
wont work.

{code}
Logs from the task:
2014-08-26 10:09:36,199 ERROR [main] org.apache.falcon.messaging.MessageProducer: Error in
getConnection:
javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException:
Connection refused
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:286)
	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:230)
	at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:178)
	at org.apache.falcon.messaging.MessageProducer.createAndStartConnection(MessageProducer.java:86)
	at org.apache.falcon.messaging.MessageProducer.run(MessageProducer.java:159)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
	at org.apache.falcon.messaging.MessageProducer.main(MessageProducer.java:71)
	at org.apache.falcon.workflow.FalconPostProcessing.invokeFalconMessageProducer(FalconPostProcessing.java:174)
	at org.apache.falcon.workflow.FalconPostProcessing.run(FalconPostProcessing.java:117)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.falcon.workflow.FalconPostProcessing.main(FalconPostProcessing.java:96)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message