Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - DistCp - NoClassDefFoundError


Copy link to this message
-
Re: DistCp - NoClassDefFoundError
Boris Shkolnik 2009-09-01, 18:22
After split Distcp belongs to hadoop-mapreduce.
Make sure hadoop-mapred-tools-$VER-dev.jar is in your classpath.

Boris.
On 8/31/09 2:19 PM, "Kevin Peterson" <[EMAIL PROTECTED]> wrote:

> On Fri, Aug 28, 2009 at 10:34 AM, mpiller <[EMAIL PROTECTED]>wrote:
>
>>
>> I am using the DistCp class inside of my application to copy final output
>> files out into S3 (this is per Amazon's recommendation). However, when I
>> run
>> the program I get the following exception:
>>
>> java.lang.NoClassDefFoundError: org/apache/hadoop/tools/DistCp
>>
>>
> I generally run DistCp from the command line. I'd look into the bin/hadoop
> script to see what it actually runs when you do distcp. It may be that the
> jar isn't in the classpath normally.