This again seems not to be working on HDP 2.3.2 hadoop version Hadoop 2.7.1.2.3.2.0-2950 Subversion [email protected]:hortonworks/hadoop.git -r 5cc60e0003e33aa98205f18bccaeaf36cb193c1c Compiled by jenkins on 2015-09-30T18:08Z Compiled with protoc 2.5.0 >From source with checksum 69a3bf8c667267c2c252a54fbbf23d This command was run using /usr/hdp/2.3.2.0-2950/hadoop/lib/hadoop-common-2.7.1.2.3.2.0-2950.jar
oozie version Oozie client build version: 4.2.0.2.3.2.0-2950 Any idea if the property is updated to a new one or some new config? Thanks, -Nirmal -----Original Message----- From: Aaron.Dossett [mailto:[email protected]] Sent: Thursday, December 17, 2015 6:05 AM To: [email protected] Subject: Re: Classpath priority for java actions Thank you, Micah! Adding this to the configuration section of my java action solved the problem: <property> <name>oozie.launcher.mapreduce.user.classpath.first</name> <value>true</value> </property> Best, Aaron On 12/16/15, 5:48 PM, "Micah Whitacre" <[email protected]> wrote: >There was a similar discussion about this in the archives: >https://mail-archives.apache.org/mod_mbox/oozie-user/201308.mbox/%3C9F2 >E10 [email protected]%3E > >You might try the settings mentioned there. > >On Wed, Dec 16, 2015 at 3:15 PM, Aaron.Dossett ><[email protected]> >wrote: > >> Hi, >> >> I have a java action and would like to ensure that the jars I provide >>(via the lib/ directory) have the highest precedence in the class >>path my java action executes with. Is that possible? >> >> The very specific problem I'm dealing with is that when running a >>java action in oozie, an old version of jackson-core is getting >>picked up >>here: >> >> >> >>jar:file:/hadoop/yarn/local/filecache/22/mapreduce.tar.gz/hadoop/share >>/ha >>doop/common/lib/jackson-core-2.2.3.jar!/com/fasterxml/jackson/core/Jso >>nFa >>ctory.class >> >> My own jar files have a more recent version of jackson-core, but the >>above location has class path priority. I am running on an HDP 2.2.4 >>cluster. >> >> Thanks! -Aaron >> ________________________________ NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.
