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/12/05 19:59:13 UTC

[jira] [Created] (FALCON-937) Fix tests that are still using hdfs root dir in feeds

Raghav Kumar Gautam created FALCON-937:
------------------------------------------

             Summary: Fix tests that are still using hdfs root dir in feeds
                 Key: FALCON-937
                 URL: https://issues.apache.org/jira/browse/FALCON-937
             Project: Falcon
          Issue Type: Bug
            Reporter: Raghav Kumar Gautam
            Assignee: Raghav Kumar Gautam


Here are some sample feeds generated by them:

ELExp_FutureAndLatestTest.futureTest, ELExp_FutureAndLatestTest.latestTest:
{code}
2014-12-04 20:54:05,087 INFO  - [pool-6-thread-1:futureTest] ~ Submitting feed: 
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="uri:falcon:feed:0.1" name="agregated-logs16-d1f1ae1a" description="clicks log">
    <frequency>hours(1)</frequency>
    <timezone>UTC</timezone>
    <late-arrival cut-off="hours(6)"/>
    <clusters>
        <cluster name="corp-c82d3f5d" type="source">
            <validity start="2009-02-01T01:00Z" end="2099-05-01T00:00Z"/>
            <retention limit="hours(6)" action="delete"/>
        </cluster>
    </clusters>
    <locations>
        <location type="data" path="/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
        <location type="stats" path="/projects/ivory/clicksStats"/>
        <location type="meta" path="/projects/ivory/clicksMetaData"/>
    </locations>
    <ACL owner="hrt_qa" group="users" permission="*"/>
    <schema location="/schema/clicks" provider="protobuf"/>
    <properties>
        <property name="field1" value="value1"/>
        <property name="field2" value="value2"/>
    </properties>
</feed>
 (IEntityManagerHelper:288)
{code}


ListProcessInstancesTest.testProcessOrderBy: 
{code}
2014-12-04 21:45:41,251 INFO  - [pool-11-thread-1:] ~ Submitting feed: 
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="uri:falcon:feed:0.1" name="agregated-logs16-6616ca37" description="clicks log">
    <frequency>hours(1)</frequency>
    <timezone>UTC</timezone>
    <late-arrival cut-off="hours(6)"/>
    <clusters>
        <cluster name="corp-0d65da0e" type="source">
            <validity start="2009-02-01T01:00Z" end="2099-05-01T00:00Z"/>
            <retention limit="hours(6)" action="delete"/>
        </cluster>
    </clusters>
    <locations>
        <location type="data" path="/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
        <location type="stats" path="/projects/ivory/clicksStats"/>
        <location type="meta" path="/projects/ivory/clicksMetaData"/>
    </locations>
    <ACL owner="hrt_qa" group="users" permission="*"/>
    <schema location="/schema/clicks" provider="protobuf"/>
    <properties>
        <property name="field1" value="value1"/>
        <property name="field2" value="value2"/>
    </properties>
</feed>
 (IEntityManagerHelper:311)
{code}


NewRetryTest.testRetryInProcessLowerAttemptUpdate
NewRetryTest.testRetryInProcessZeroAttemptUpdate
{code}
2014-12-05 00:25:20,741 INFO  - [pool-30-thread-1:testRetryInProcessLowerAttemptUpdate] ~ Submitting feed: 
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="uri:falcon:feed:0.1" name="agregated-logs16-4be8b2df" description="clicks log">
    <frequency>minutes(1)</frequency>
    <timezone>UTC</timezone>
    <late-arrival cut-off="hours(6)"/>
    <clusters>
        <cluster name="corp-39185754" type="source">
            <validity start="2009-01-01T01:00Z" end="2099-12-31T23:59Z"/>
            <retention limit="months(6)" action="delete"/>
        </cluster>
    </clusters>
    <locations>
        <location type="data" path="/lateDataTest/testFolders/output-data/megaPhail"/>
        <location type="stats" path="/projects/ivory/clicksStats"/>
        <location type="meta" path="/projects/ivory/clicksMetaData"/>
    </locations>
    <ACL owner="hrt_qa" group="users" permission="*"/>
    <schema location="/schema/clicks" provider="protobuf"/>
    <properties>
        <property name="field5" value="value1"/>
        <property name="field6" value="value2"/>
    </properties>
</feed>
 (IEntityManagerHelper:288)
{code}


InstanceSummaryTest.testSummarySingleClusterProcess
{code}
2014-12-05 01:34:27,513 INFO  - [TestNGInvoker-testSummarySingleClusterProcess():] ~ Submitting feed: 
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="uri:falcon:feed:0.1" name="agregated-logs16-caf200cf" description="clicks log">
    <frequency>hours(1)</frequency>
    <timezone>UTC</timezone>
    <late-arrival cut-off="hours(6)"/>
    <clusters>
        <cluster name="corp-9fa233ff" type="source">
            <validity start="2009-02-01T01:00Z" end="2099-05-01T00:00Z"/>
            <retention limit="hours(6)" action="delete"/>
        </cluster>
    </clusters>
    <locations>
        <location type="data" path="/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
        <location type="stats" path="/projects/ivory/clicksStats"/>
        <location type="meta" path="/projects/ivory/clicksMetaData"/>
    </locations>
    <ACL owner="hrt_qa" group="users" permission="*"/>
    <schema location="/schema/clicks" provider="protobuf"/>
    <properties>
        <property name="field1" value="value1"/>
        <property name="field2" value="value2"/>
    </properties>
</feed>
 (IEntityManagerHelper:288)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)