falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-168) Different validity of clusters in feed not handled
Date Tue, 05 Nov 2013 09:56:17 GMT
Samarth Gupta created FALCON-168:
------------------------------------

             Summary: Different validity of clusters in feed not handled 
                 Key: FALCON-168
                 URL: https://issues.apache.org/jira/browse/FALCON-168
             Project: Falcon
          Issue Type: Bug
          Components: replication
         Environment: QA
            Reporter: Samarth Gupta
            Assignee: Venkatesh Seetharam


Feed.xml has option to provide different validity for same feed on different clusters. When
such a feed is scheduled the validity of source and target must be considered and overlapping
time duration should be replicated. 

Following test case fails for the patch available in FALCON-163

1. source validity : start="2012-10-01T12:00Z end="2099-01-01T00:00Z" 
2. target one validity : start="2012-10-01T12:05Z" end="2012-10-01T12:11Z"
3. target two validity : start="2012-10-01T12:10Z" end="2012-10-01T12:26Z"

What should happen :
based on the above, when is feed is scheduled replication start should be from:

1. target one : start="2012-10-01T12:05Z" and  end="2012-10-01T12:11Z"
2. target two:  start="2012-10-01T12:10Z" and end="2012-10-01T12:26Z"

but ... What is happening after FALCON-163 patch:

Both target one and two replication : start="2012-10-01T12:00Z" and  end="2099-01-01T00:00Z"

Due to this instance are starting on target cluster when feed is not valid and such replication
is failing with error "variable [distcpTargetPaths] cannot be resolved"

feed refer to feed available in FALCON-95 for details. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message