You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Balu Vellanki (JIRA)" <ji...@apache.org> on 2014/09/29 23:20:33 UTC

[jira] [Commented] (FALCON-759) Adding cluster entity fails when Yarn TimelineClient is enabled.

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

Balu Vellanki commented on FALCON-759:
--------------------------------------

The error is caused by when Jersey-*jar and hadoop-*jar are packaged as part of falcon.war.   If hadoop is installed on Falcon server, Falcon appends hadoop classpath to it's own CP. Thus Jersey-*jar and hadoop-*jar will be available during run-time. If falcon is running on machine without hadoop, ${falcon-base-dir}/hadooplibs is added to the classpath. 

So the fix has to ensure that these jars are available under ${falcon-base-dir}/hadooplibs/ for Falcon and to change the scope of these dependencies to <provided> in the POM.  

> Adding cluster entity fails when Yarn TimelineClient is enabled.
> ----------------------------------------------------------------
>
>                 Key: FALCON-759
>                 URL: https://issues.apache.org/jira/browse/FALCON-759
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>
> We have noticed the following error when trying to add cluster entity in Falcon.  To reproduce this, please install Falcon served on node with Hadoop-2.6 and with Yarn TimelineClient enabled.
> {code}
> bash$ ./bin/falcon entity -type cluster -submit -file ~/falconChurnDemo/oregonCluster.xml
> org.apache.falcon.entity.parser.ValidationException: Invalid Execute server or port: local.hwks.com:8032
> 	at org.apache.falcon.entity.parser.ClusterEntityParser.validateExecuteInterface(ClusterEntityParser.java:131)
> 	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:73)
> 	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:47)
> 	at org.apache.falcon.resource.AbstractEntityManager.validate(AbstractEntityManager.java:364)
> 	at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:331)
> 	at org.apache.falcon.resource.AbstractEntityManager.submit(AbstractEntityManager.java:153)
> {code}



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