What version of Falcon are you using? Falcon support for Oozie 4.1 was part of https://issues.apache.org/jira/browse/FALCON-896. Fix version is 0.7 which is not yet released. FALCON-896 was pushed on 1/10/2015, you will have to sync Falcon code with latest. Also, Falcon is Top level project now so you shouldn¹t be using the incubator git link. Please use https://github.com/apache/falcon.git.
Thanks! On 2/4/15, 11:40 AM, "Mahak Mukhi" <[email protected]> wrote: >When I try to build Falcon with Oozie 4.1.0 it gives following error: >Failed to execute goal >org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile >(default-compile) on project falcon-oozie-adaptor: Compilation failure: >Compilation failure: >[ERROR] >/home/mmukhi/falcon/oozie/src/main/java/org/apache/falcon/workflow/engine/ >OozieWorkflowEngine.java:[806,73] cannot find symbol >[ERROR] symbol : variable JOB_COORD_RERUN_ACTION >[ERROR] location: interface org.apache.oozie.client.rest.RestConstants >[ERROR] >/home/mmukhi/falcon/oozie/src/main/java/org/apache/falcon/workflow/engine/ >OozieWorkflowEngine.java:[866,43] cannot find symbol >[ERROR] symbol : variable DISCARDED >[ERROR] location: class org.apache.oozie.client.CoordinatorAction.Status >[ERROR] -> [Help 1] > > > On Wednesday, February 4, 2015 12:38 PM, Sowmya Ramesh ><[email protected]> wrote: > > > Hi Mukhi, > >As per https://issues.apache.org/jira/browse/FALCON-574, the Expression >language is available in ooze 4.1. >Can you please upgrade to 4.1? > >Thanks! > > > >On 2/4/15, 8:32 AM, "Mahak Mukhi" <[email protected]> wrote: > >>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 >> >> >> > > >
