Hey, Solved my problem by doing the following 2 steps:
1 - Change on tez-site.xml: tez.lib.uris = hdfs:///apps/tez/,hdfs:///apps/tez/lib/ 2 - On the workflow xml add the property tez.lib.uris with the value above. Best, João On 06 Oct 2014, at 14:57, João Alves <[email protected]> wrote: > Hi all, > > When I changed the map reduce framework name in mapped-site.xml to yarn-tea > my workflow stopped working. > > When running an hive action (which happens to be the first action on this > workflow) I get the following error: > > 141006110245841-oozie-oozi-W@hive_action] Error starting action > [hive_action]. ErrorType [TRANSIENT], ErrorCode [JA009], Message [JA009: > Cannot initialize Cluster. Please check your configuration for > mapreduce.framework.name and the correspond server addresses.] > org.apache.oozie.action.ActionExecutorException: JA009: Cannot initialize > Cluster. Please check your configuration for mapreduce.framework.name and the > correspond server addresses. > > > Hadoop classpath output: > > /etc/hadoop/conf:/usr/lib/hadoop/lib/*:/usr/lib/hadoop/.//*:/usr/lib/hadoop-hdfs/./:/usr/lib/hadoop-hdfs/lib/*:/usr/lib/hadoop-hdfs/.//*:/usr/lib/hadoop-yarn/lib/*:/usr/lib/hadoop-yarn/.//*:/usr/lib/hadoop-mapreduce/lib/*:/usr/lib/hadoop-mapreduce/.//*::/usr/share/java/mysql-connector-java-5.1.17.jar:/usr/share/java/mysql-connector-java.jar:/usr/lib/hadoop-mapreduce/*:/usr/lib/tez/*:/usr/lib/tez/lib/*:/etc/tez/conf > > > On tez-site.xml I have: > > tez.lib.uris = > hdfs://node01.myhost.com:8020/tez/,hdfs://node01.myhost.com:8020/apps/tez/lib/ > > > To configure Tez I used a hortonworks guide. Tez on hive and the tez ordered > word count example both work fine. > > I am using HDP-2.1 (Tez 0.4.0, Hive 0.13.0, Oozie 4.0.0). > > > Does anyone have a hunch or a hint that could be helpful in my situation? > > Thanks, > João > >
