hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pasquale Salza <pasquale.sa...@gmail.com>
Subject Custom user classpath
Date Sat, 13 Sep 2014 12:48:06 GMT
Hi there,
I'm facing with a problem concerning the classpath. I want to add to the
classpath the third-party libraries placed into my all-inclusive JAR, in
particular I need to replace the default avro-1.7.4.jar (which is included
with HDP 2.1, Hadoop 0.23.11) with the most recent avro-1.7.7.jar. I
succeded in using it during the job phase, by set
"mapreduce.job.user.classpath.first" to "true" but I'm not  able to force
my code to use custom jars during the simple execution on the master.

I managed to force the behavior by deleting avro-1.7.4.jar in the whole
default classpath, but I don't  think this is the best parctice.

Any ideas?


Pasquale Salza

e-mail: pasquale.salza@gmail.com
phone: +39 393 4415978
fax: +39 089 8422939
skype: pasquale.salza
linkedin: http://it.linkedin.com/in/psalza/

View raw message