You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Venkatesh Seetharam (JIRA)" <ji...@apache.org> on 2014/11/08 06:58:34 UTC

[jira] [Commented] (FALCON-806) falcon client error is not helpful

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

Venkatesh Seetharam commented on FALCON-806:
--------------------------------------------

Moved this out of 0.6 since this is quite involved.

> falcon client error is not helpful
> ----------------------------------
>
>                 Key: FALCON-806
>                 URL: https://issues.apache.org/jira/browse/FALCON-806
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.6
>            Reporter: Raghav Kumar Gautam
>
> Falcon client error messages are not helpful:
> {code}
> [hrt_qa@node-1 falcon-regression]$ falcon entity submit -type cluster -file /vagrant/falcon-regression/merlin/corp-324040e1.xml
> Stacktrace:
> org.apache.falcon.client.FalconCLIException: Invalid command
>         at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:437)
>         at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:195)
>         at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:144)
> {code}
> For completeness I am also putting content of the file:
> {code}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <cluster name="corp-324040e1" description="" colo="default" xmlns="uri:falcon:cluster:0.1">
>     <interfaces>
>         <interface type="readonly" endpoint="webhdfs://node-1.example.com:50070" version="0.20.2"/>
>         <interface type="write" endpoint="hdfs://node-1.example.com:8020" version="0.20.2"/>
>         <interface type="execute" endpoint="node-1.example.com:8032" version="0.20.2"/>
>         <interface type="workflow" endpoint="http://node-1.example.com:11000/oozie/" version="3.1"/>
>         <interface type="messaging" endpoint="tcp://node-1.example.com:61616?daemon=true" version="5.1.6"/>
>     </interfaces>
>     <locations>
>         <location name="staging" path="/projects/ivory/staging"/>
>         <location name="temp" path="/tmp"/>
>         <location name="working" path="/projectsTest/ivory/working"/>
>     </locations>
>     <ACL owner="root" group="users" permission="*"/>
>     <properties>
>         <property name="field1" value="value1"/>
>         <property name="field2" value="value2"/>
>     </properties>
> </cluster>
> {code}



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