hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donatella Firmani <donatellafirm...@yahoo.com>
Subject Re: Hadoop Mapreduce jobs and LD_LIBRARY_PATH
Date Fri, 29 Apr 2011 10:58:28 GMT
To solve the issue addressed in my previous message, i tried setting property 
mapred.child.java.opts in mapred-site.xml. But - even if it seems the right 
approach in relation to what said in blogs & forums - there is a big problem 
with it.

Following the tutorial (hadoop website) as section Task Execution & Environment, 

my xml looks like:



The problem arises when executing the job, because it is thrown an exception:

Exception in thread "main" java.lang.NoClassDefFoundError: 

Any help would be appreciated.
Thanks in advance,


----- Original Message ----
From: Donatella Firmani <donatellafirmani@yahoo.com>
To: mapreduce-user@hadoop.apache.org
Sent: Fri, April 29, 2011 12:57:52 PM
Subject: Hadoop Mapreduce jobs and LD_LIBRARY_PATH

Hi to all,

I just subscribed to this mailing list and I'd like to ask you if anyone knows 
how to deal with LD_LIBRARY_PATH.
I have a Java application that needs a proper setting of this environment 
variable to work under Linux-Ubuntu.
I want to use tis application from a mapreduce job, unfortunately I could not 
find a way to make things work against the LD_LIBRARY_PATH environment variable.

I tried so many different strategies and I am stuck. Maybe someone of you can 

Thanks in advance,


PS: I use hadoop-0-20-2

View raw message