falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghav Kumar Gautam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-806) falcon client error is not helpful
Date Wed, 15 Oct 2014 01:13:34 GMT

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

Raghav Kumar Gautam commented on FALCON-806:
--------------------------------------------

The typo in the command is that it has submit instead of -submit.

> 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
>             Fix For: 0.6
>
>
> 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)

Mime
View raw message