Raghav Kumar Gautam created FALCON-305:
------------------------------------------
Summary: Feed submission failure
Key: FALCON-305
URL: https://issues.apache.org/jira/browse/FALCON-305
Project: Falcon
Issue Type: Bug
Reporter: Raghav Kumar Gautam
Submission of the following feed failed with the message that partition
expression needs to be specified.
Feed:
{code:xml}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed name="FETL-BillingRC-aaab2eec-aaa0-4af8-a8a2-3f3f1f0ceb11"
description="billing RC File"
xmlns="uri:falcon:feed:0.1">
<partitions>
<partition name="colo"/>
<partition name="eventTime"/>
<partition name="impressionHour"/>
<partition name="pricingModel"/>
</partitions>
<frequency>minutes(5)</frequency>
<late-arrival cut-off="days(100000)"/>
<clusters>
<cluster name="ivory2-stg4-4629336e-07b6-423a-8a22-639eec9d34b6"
type="source">
<validity start="2012-10-01T12:05Z" end="2012-10-01T12:10Z"/>
<retention limit="days(1000000)" action="delete"/>
<locations>
<location type="data"
path="/tmp/falcon-regression/localDC/rc/billing/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
</locations>
</cluster>
<cluster name="ivory2-stg4-c0b74896-a16a-4074-b4de-14c20db17afe"
type="target" partition="${cluster.colo}">
<validity start="2012-10-01T12:10Z" end="2012-10-01T12:25Z"/>
<retention limit="days(1000000)" action="delete"/>
<locations>
<location type="data"
path="/tmp/falcon-regression/clusterPath/localDC/rc/billing/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
</locations>
</cluster>
<cluster name="ivory2-stg4-3af710ba-f8fe-435f-add1-b2417a6164c5"
type="source">
<validity start="2012-10-01T12:00Z" end="2099-01-01T00:00Z"/>
<retention limit="days(1000000)" action="delete"/>
</cluster>
</clusters>
<locations>
<location type="data"
path="/data/regression/fetlrc/billing/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
<location type="stats" path="/data/regression/fetlrc/billing/stats"/>
<location type="meta" path="/data/regression/fetlrc/billing/metadata"/>
</locations>
<ACL owner="fetl" group="group" permission="0x755"/>
<schema location="/databus/streams_local/click_rr/schema/"
provider="protobuf"/>
</feed>
{code}
Response:
{code:xml}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<result>
<status>FAILED</status>
<message>Partition expression has to be specified for cluster
ivory2-stg4-4629336e-07b6-423a-8a22-639eec9d34b6 as there
are more than one source clusters
</message>
<requestId>94187a92-565b-4ab7-84ec-c624bede6c59</requestId>
</result>
{code}
*Test name*
PrismFeedReplicationPartitionExpTest#normalTest_2s1t_pt
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)