|
|
Saurabh Agarwal 2010-05-20, 09:59
Hi, I have Downloaded Hadoop 20.2 and untared it.. But when I copy the contents in a newly created NetBeans project, the windo w shose many errors like package not found etc.. Please help Out
Saurabh Agarwal
bharath vissapragada 2010-05-20, 10:44
Add jars in hadoop's lib folder to your classpath in net beans !
On Thu, May 20, 2010 at 3:29 PM, Saurabh Agarwal <[EMAIL PROTECTED]>wrote:
> Hi, > I have Downloaded Hadoop 20.2 and untared it.. But when I copy the contents > in a newly created NetBeans project, the windo w shose many errors like > package not found etc.. > > > Please help Out > > Saurabh Agarwal >
Saurabh Agarwal 2010-05-20, 10:52
but I want to toy around hadoop's code and debug/profile hadoop.. would adding jars work??? Saurabh Agarwal On Thu, May 20, 2010 at 4:14 PM, bharath vissapragada < [EMAIL PROTECTED]> wrote:
> Add jars in hadoop's lib folder to your classpath in net beans ! > > On Thu, May 20, 2010 at 3:29 PM, Saurabh Agarwal <[EMAIL PROTECTED] > >wrote: > > > Hi, > > I have Downloaded Hadoop 20.2 and untared it.. But when I copy the > contents > > in a newly created NetBeans project, the windo w shose many errors like > > package not found etc.. > > > > > > Please help Out > > > > Saurabh Agarwal > > >
Timmy Jose 2010-05-20, 13:35
I think what Bharath was trying to tell you is that those errors that you are seeing are assuredly library (i.e., JARs) dependencies which have not been specified on the classpath. Adding all the required libraries to the classpath should allow you to compile, debug and modify as you should desire. The Hadoop website has all the dependencies listed out independent of the IDE. On Thu, May 20, 2010 at 4:22 PM, Saurabh Agarwal <[EMAIL PROTECTED]>wrote:
> but I want to toy around hadoop's code and debug/profile hadoop.. would > adding jars work??? > Saurabh Agarwal > > > On Thu, May 20, 2010 at 4:14 PM, bharath vissapragada < > [EMAIL PROTECTED]> wrote: > > > Add jars in hadoop's lib folder to your classpath in net beans ! > > > > On Thu, May 20, 2010 at 3:29 PM, Saurabh Agarwal <[EMAIL PROTECTED] > > >wrote: > > > > > Hi, > > > I have Downloaded Hadoop 20.2 and untared it.. But when I copy the > > contents > > > in a newly created NetBeans project, the windo w shose many errors like > > > package not found etc.. > > > > > > > > > Please help Out > > > > > > Saurabh Agarwal > > > > > >
Jaideep Dhok 2010-05-20, 14:01
Saurabh, You might have to do ant ant build first (just an 'ant ivy retrieve' should be sufficient), in order to download all the dependencies. After that you can manually add the jar files in the build/ivy/lib/ directories to your project in Netbeans. Thanks, Jaideep Timmy Jose wrote: > I think what Bharath was trying to tell you is that those errors that you > are seeing are assuredly library (i.e., JARs) dependencies which have not > been specified on the classpath. Adding all the required libraries to the > classpath should allow you to compile, debug and modify as you should > desire. The Hadoop website has all the dependencies listed out independent > of the IDE. > > > On Thu, May 20, 2010 at 4:22 PM, Saurabh Agarwal <[EMAIL PROTECTED]>wrote: > >> but I want to toy around hadoop's code and debug/profile hadoop.. would >> adding jars work??? >> Saurabh Agarwal >> >> >> On Thu, May 20, 2010 at 4:14 PM, bharath vissapragada < >> [EMAIL PROTECTED]> wrote: >> >>> Add jars in hadoop's lib folder to your classpath in net beans ! >>> >>> On Thu, May 20, 2010 at 3:29 PM, Saurabh Agarwal <[EMAIL PROTECTED] >>>> wrote: >>>> Hi, >>>> I have Downloaded Hadoop 20.2 and untared it.. But when I copy the >>> contents >>>> in a newly created NetBeans project, the windo w shose many errors like >>>> package not found etc.. >>>> >>>> >>>> Please help Out >>>> >>>> Saurabh Agarwal >>>>
|
|