It looks like this isn't a Falcon problem. I tried an install from Ambari 1.6.1, and saw some errors about the TimelineClient in the falcon.out.* log file. If you disable the timeline server, restart Yarn, and restart Falcon, you should be able to submit a cluster definition. (In Ambari UI, click on Yarn, click on Configs, under Application Timeline Server uncheck the box next to yarn.timeline-service.enabled, Save, then restart Yarn, then restart Falcon.) I'll look into where a ticket should be opened to fix the real problem.
The falcon-status issue is different: the user running the command must have permissions to check the pid files in /var/run/falcon/. On Thu, Aug 7, 2014 at 12:00 PM, Ed Kohlwey <[email protected]> wrote: > I'm attempting to deploy a cluster entity through an ambari-managed falcon. > This is a clean install from 1.6.1. > > When submitting the cluster definition, I get the following message: > > $ sudo -u admin falcon entity -submit -file cluster.xml -type cluster > > Error: Invalid Execute server or port: <hostname redacted>:8050 > > Cannot initialize Cluster. Please check your configuration for > mapreduce.framework.name and the correspond server addresses. > > > mapreduce.framework.name is set yarn (per ambari deployment defaults). My > configuration line looks like this: > > <interface type="execute" endpoint="<hostname redacted>:8050" > version="2.4.0" /> > > Enabling debugging in the hadoop packages in the log4j.xml shows that the > connection is being considered but not established. > > 2014-08-07 15:23:03,513 DEBUG - > [1141105573@qtp-216944274-0:admin:POST//entities/submit/cluster > a1b37e55-34fb-48f3-830d-e8e736f79c75] ~ Trying ClientProtocolProvider : > org.apache.hadoop.mapred.YarnClientProtocolProvider (Cluster:90) > > at > > org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:34) > > at > > org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:34) > > at > > org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:34) > > 2014-08-07 15:23:03,971 INFO - > [1141105573@qtp-216944274-0:admin:POST//entities/submit/cluster > a1b37e55-34fb-48f3-830d-e8e736f79c75] ~ Failed to use > org.apache.hadoop.mapred.YarnClientProtocolProvider due to error: null > (Cluster:113) > > > Any ideas of what could be wrong are appreciated. I am able to launch other > yarn jobs on this cluster successfully via Hive. >
