Oozie 4.1.0 and 4.2.0 version issue bug

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.