[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-user
Subject:    Re: DistCp - NoClassDefFoundError
From:       Kevin Peterson <kpeterson () biz360 ! com>
Date:       2009-08-31 21:19:29
Message-ID: f27b3fc0908311419u7bb21b64v752163ef1892a603 () mail ! gmail ! com
[Download RAW message or body]


On Fri, Aug 28, 2009 at 10:34 AM, mpiller <mark@themidnightcoders.com>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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic