Raghav Kumar Gautam created FALCON-829:
------------------------------------------
Summary: Better error message for cluster submission failure
Key: FALCON-829
URL: https://issues.apache.org/jira/browse/FALCON-829
Project: Falcon
Issue Type: Bug
Reporter: Raghav Kumar Gautam
Submission of the following cluster failed because staging and working
directory did not exist. But the error message did not provide this information.
In fact the error message was not helpful at all.
{code}
14/10/21 15:38:32 INFO interfaces.IEntityManagerHelper: Submitting cluster:
<?xml version="1.0" encoding="UTF-8"?>
<cluster xmlns="uri:falcon:cluster:0.1" name="corp-a789822d" description=""
colo="default">
<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="/tmp/falcon-regression-staging"/>
<location name="working" path="/tmp/falcon-regression-working"/>
</locations>
<ACL owner="rgautam" group="users" permission="*"/>
<properties>
<property name="field1" value="value1"/>
<property name="field2" value="value2"/>
</properties>
</cluster>
{code}
The response was:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<result>
<status>FAILED</status>
<message>Unable to validate the location
org.apache.falcon.entity.v0.cluster.Location@39a4ecfe for cluster
corp-a789822d</message>
<requestId>3d646850-b58c-4274-aa87-9c4d9e633146</requestId>
</result>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)