You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Raghav Kumar Gautam (JIRA)" <ji...@apache.org> on 2014/10/15 00:59:34 UTC

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

Raghav Kumar Gautam created FALCON-806:
------------------------------------------

             Summary: 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)