falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahak Mukhi <mmu...@yahoo-inc.com.INVALID>
Subject Issues with falcon and hcatalog
Date Wed, 04 Feb 2015 16:32:31 GMT
Hi,
I am trying to do a replication from one hcat server to another but I keep getting this exception
:org.apache.falcon.FalconException: E1004 : E1004: Expression language evaluation error, Unable
to evaluate :${coord:dataInPartitions('input', 'hive-export')}:
My table is not multi-dated partioned.I created one using the following command:create table
something_cool (id INT, phrase STRING) partitioned by (ds STRING) row format delimited fields
terminated by ',';alter table something_cool add partition (ds='2015-02-04-15');
and my feed xml lloks like as follows:
<feed description="replication feed via Hcat" name="repl-with-hcat" xmlns="uri:falcon:feed:0.1">
    <groups>input</groups>

    <frequency>minutes(1)</frequency>
    <timezone>UTC</timezone>
    <late-arrival cut-off="hours(1)"/>

    <clusters>
        <cluster name="some-cluster-with-hcat" type="source">
            <validity start="2015-02-04T15:36Z" end="2030-01-01T00:00Z"/>
            <retention limit="days(200)" action="delete"/>
        </cluster>
        <cluster name="some-other-cluster-with-hcat" type="target">
            <validity start="2015-02-04T15:36Z" end="2030-01-01T00:00Z"/>
            <retention limit="days(200)" action="delete"/>
            <!--
                <locations>
                    <location type="data" path="/data/repl-in/repl-VERSION/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
                </locations>
            -->
        <table uri="catalog:falcon_test:something_cool#ds=${YEAR}-${MONTH}-${DAY}-${HOUR}"
/>
        </cluster>
    </clusters>
   
    <table uri="catalog:falcon_test:something_cool#ds=${YEAR}-${MONTH}-${DAY}-${HOUR}"
/>
<!--
    <locations>
        <location type="data" path="/data/in/repl/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
    </locations>
-->
    <ACL owner="some_owner" group="users" permission="0x644"/>
    <schema location="" provider="hcatalog"/>
</feed>


The oozie version falcon was built against is 4.0.1
Any help is much appreciated.
Regards,Mahak Mukhi




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message