|
|
-
Unable to resolve imports in eclipse for hadoop 1.0.3
Visioner Sadak 2012-08-21, 20:38
Hello,
I am unable to resolve the following imports in eclipse for hadoop 1.0.3 tried to add jars externally as well through build paths any idea why this is hapenning
for 0.20 versions it was wrking fine *
import* *org.apache.hadoop*.conf.Configuration; *
import* *org.apache.hadoop*.fs.FSDataInputStream; *
import* *org.apache.hadoop*.fs.FSDataOutputStream; *
import* *org.apache.hadoop*.fs.FileSystem; *
import* *org.apache.hadoop*.fs.Path;
-
Re: Unable to resolve imports in eclipse for hadoop 1.0.3
Harsh J 2012-08-22, 02:21
Visioner,
What exactly are you trying to do:
1. Load hadoop-1.0.3 sources into Eclipse as a project itself, to develop Hadoop? 2. Load hadoop-1.0.3 dependencies into Eclipse for a java project?
On Wed, Aug 22, 2012 at 2:08 AM, Visioner Sadak <[EMAIL PROTECTED]> wrote: > Hello, > > I am unable to resolve the following imports in eclipse for hadoop > 1.0.3 tried to add jars externally as well through build paths any idea why > this is hapenning > > for 0.20 versions it was wrking fine > > > > import > > org.apache.hadoop.conf.Configuration; > > import > > org.apache.hadoop.fs.FSDataInputStream; > > import > > org.apache.hadoop.fs.FSDataOutputStream; > > import > > org.apache.hadoop.fs.FileSystem; > > import > > org.apache.hadoop.fs.Path;
-- Harsh J
-
Re: Unable to resolve imports in eclipse for hadoop 1.0.3
Visioner Sadak 2012-08-22, 05:44
Hi Harsh,
I am trying the second option 2. Load hadoop-1.0.3 dependencies into Eclipse for a java project?
Actually i am writing a java code for uploading data in to HADOOP
On Wed, Aug 22, 2012 at 7:51 AM, Harsh J <[EMAIL PROTECTED]> wrote:
> Visioner, > > What exactly are you trying to do: > > 1. Load hadoop-1.0.3 sources into Eclipse as a project itself, to > develop Hadoop? > 2. Load hadoop-1.0.3 dependencies into Eclipse for a java project? > > On Wed, Aug 22, 2012 at 2:08 AM, Visioner Sadak > <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am unable to resolve the following imports in eclipse for > hadoop > > 1.0.3 tried to add jars externally as well through build paths any idea > why > > this is hapenning > > > > for 0.20 versions it was wrking fine > > > > > > > > import > > > > org.apache.hadoop.conf.Configuration; > > > > import > > > > org.apache.hadoop.fs.FSDataInputStream; > > > > import > > > > org.apache.hadoop.fs.FSDataOutputStream; > > > > import > > > > org.apache.hadoop.fs.FileSystem; > > > > import > > > > org.apache.hadoop.fs.Path; > > > > -- > Harsh J >
-
Re: Unable to resolve imports in eclipse for hadoop 1.0.3
Visioner Sadak 2012-08-22, 07:29
Also i did properly added all external hadoop library jars then also its unable to resolve all hadoop imports starting with
org.apache.hadoop
On Wed, Aug 22, 2012 at 11:14 AM, Visioner Sadak <[EMAIL PROTECTED]>wrote:
> Hi Harsh, > > I am trying the second option 2. Load hadoop-1.0.3 > dependencies into Eclipse for a java project? > > Actually i am writing a java code for uploading data in to > HADOOP > > On Wed, Aug 22, 2012 at 7:51 AM, Harsh J <[EMAIL PROTECTED]> wrote: > >> Visioner, >> >> What exactly are you trying to do: >> >> 1. Load hadoop-1.0.3 sources into Eclipse as a project itself, to >> develop Hadoop? >> 2. Load hadoop-1.0.3 dependencies into Eclipse for a java project? >> >> On Wed, Aug 22, 2012 at 2:08 AM, Visioner Sadak >> <[EMAIL PROTECTED]> wrote: >> > Hello, >> > >> > I am unable to resolve the following imports in eclipse for >> hadoop >> > 1.0.3 tried to add jars externally as well through build paths any idea >> why >> > this is hapenning >> > >> > for 0.20 versions it was wrking fine >> > >> > >> > >> > import >> > >> > org.apache.hadoop.conf.Configuration; >> > >> > import >> > >> > org.apache.hadoop.fs.FSDataInputStream; >> > >> > import >> > >> > org.apache.hadoop.fs.FSDataOutputStream; >> > >> > import >> > >> > org.apache.hadoop.fs.FileSystem; >> > >> > import >> > >> > org.apache.hadoop.fs.Path; >> >> >> >> -- >> Harsh J >> > >
-
Re: Unable to resolve imports in eclipse for hadoop 1.0.3
Visioner Sadak 2012-08-22, 10:55
Thanks guys for your support the issue was resolved after adding a single hadoop core jar for 1.0.3 instead of adding all jars from library of hadoop home,single hadoop core jar for 1.0.3 can be downloaded from internet....
On Wed, Aug 22, 2012 at 2:08 AM, Visioner Sadak <[EMAIL PROTECTED]>wrote:
> Hello, > > I am unable to resolve the following imports in eclipse for > hadoop 1.0.3 tried to add jars externally as well through build paths any > idea why this is hapenning > > for 0.20 versions it was wrking fine > > > * > > import > **org.apache.hadoop*.conf.Configuration;* > > import > **org.apache.hadoop*.fs.FSDataInputStream;* > > import > **org.apache.hadoop*.fs.FSDataOutputStream;* > > import > **org.apache.hadoop*.fs.FileSystem;* > > import > **org.apache.hadoop*.fs.Path; >
|
|