[ 
https://issues.apache.org/jira/browse/FALCON-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14607065#comment-14607065
 ] 

Pallavi Rao commented on FALCON-1302:
-------------------------------------

[~jana_chander], when you use YARN, mapred.job.tracker is not used. The default 
port on which the RM listens is 8032 and the port (per your configuration) on 
which the NameNode is listening is 9000, so, you'll need to change the cluster 
definition as follows:
{code}
<cluster colo="local" description="Standalone cluster" name="local" 
xmlns="uri:falcon:cluster:0.1">
    <interfaces>
        <interface type="readonly" endpoint="hdfs://localhost:9000" 
version="1.1.2"/>
        <interface type="write" endpoint="hdfs://localhost:9000" 
version="1.1.2"/>
        <interface type="execute" endpoint="localhost:8032" version="1.1.2"/>
        <interface type="workflow" endpoint="http://localhost:11000/oozie/"; 
version="4.0.0"/>
        <interface type="messaging" 
endpoint="tcp://localhost:61616?daemon=true"  version="5.4.3"/>
    </interfaces>
{code}

> Falcon Cluster submission - issue with execution url in cluster.xml file
> ------------------------------------------------------------------------
>
>                 Key: FALCON-1302
>                 URL: https://issues.apache.org/jira/browse/FALCON-1302
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Janarthanan
>            Assignee: Peeyush Bishnoi
>            Priority: Critical
>         Attachments: falcon.application.log, standalone-cluster.xml
>
>
> I have started the falcon in embedded mode and I can see the gui opening 
> properly and jps command shows the falcon running. 
> I have a single node hadoop cluster with hadoop 2.6.0v and yarn. 
> When I tried executing the examples, on running the below command from 
> installation steps, faced the following error.
> Command :
> bin/falcon entity -submit -type cluster -file 
> examples/entity/filesystem/standalone-cluster.xml
> Error log:
> 2015-06-28 13:57:15,913 INFO - [9730122@qtp-1771797373-8 - 
> f6ba54d4-cea9-4ae8-a078-35fc55b92883:administrator:POST//entities/submit/cluster]
>  ~ Validating execute interface: http://localhost:8088 
> (ClusterEntityParser:134)
> 2015-06-28 13:57:15,981 INFO - [9730122@qtp-1771797373-8 - 
> f6ba54d4-cea9-4ae8-a078-35fc55b92883:administrator:POST//entities/submit/cluster]
>  ~ Connecting to ResourceManager at localhost/127.0.0.1:8088 (RMProxy:98)
> 2015-06-28 13:57:15,992 ERROR - [9730122@qtp-1771797373-8 - 
> f6ba54d4-cea9-4ae8-a078-35fc55b92883:administrator:POST//entities/submit/cluster]
>  ~ Unable to persist entity object (AbstractEntityManager:198)
> org.apache.falcon.entity.parser.ValidationException: Invalid Execute server 
> or port: http://localhost:8088
> at 
> org.apache.falcon.entity.parser.ClusterEntityParser.validateExecuteInterface(ClusterEntityParser.java:139)



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

Reply via email to