Oozie error when calling Hive to execute HQL
Java.lang.IllegalArgumentException:java.net.URISyntaxException:Relative Path in absolute uri:file:./tmp/yarn/ 32f78598-6ef2-444b-b9b2-c4bbfb317038/hive_2016-07-07_00-46-43_542_5546892249492886535-1
https://issues.apache.org/jira/browse/ OOZIE-23804.1.0 version Fix modification org.apache.oozie.action.hadoop.JavaActionExecutor location: core\src\main\java\org\apache\oozie\ Action\hadoop\javaactionexecutor 1, join this method to add global variables public static final string hadoop_reduce_java_opts = "Mapreduce.reduce.java.opts"; private static final String JAVA_TMP_DIR_SETTINGS = "-djava.io.tmpdir="; 2, call this method in the class 3, Modify Org.apache.oozie.action.hadoop.HiveMain Location: sharelib\hive\src\main\java\org\apache\oozie\action\hadoop\ Hivemain 4, compile with maven, mvn clean package -dskiptests 5, Replace the corresponding package with the class file oozie-core-4.1.0-cdh5.5.0.jar update/opt/cloudera/parcels/cdh-5.5.0-1.cdh5.5.0.p0.8/jars oozie-sharelib-hive-4.1.0-cdh5.5.0.jar Update/opt/cloudera/parcels/cdh-5.5.0-1.cdh5.5.0.p0.8/jars/opt/ cloudera/parcels/cdh-5.5.0-1.cdh5.5.0.p0.8/lib/oozie/oozie-sharelib-yarn/lib/hive/opt/cloudera/parcels/ Cdh-5.5.0-1.cdh5.5.0.p0.8/lib/oozie/libserver 6, modify the file under the Sharelib directory for Oozie HDFs hdfs://xxd-hdfs-ha/user/oozie/share/lib/lib_ 20160706183059/hive/oozie-sharelib-hive-4.1.0-cdh5.5.0.jarhdfs://xxd-hdfs-ha/user/oozie/share/lib/lib_ 20160706183059/hive/oozie-sharelib-hive.jar These two jars are the corresponding Oozie-sharelib-hive-4.1.0-cdh5.5.0.jar packages, but the names are different.
Oozie 4.1.0 and 4.2.0 version issues bug