RE: Hadoop imports Fail

2015-04-14 Thread Mich Talebzadeh
nt: 14 April 2015 10:43 To: user@hadoop.apache.org Subject: Re: Hadoop imports Fail Many thanks. Ii fixed the problem using $javac -classpath $(hadoop classpath) -d Thanks Anand Murali 11/7, 'Anand Vihar', Kandasamy St, Mylapore Chennai - 600 004, India Ph: (044)-

Re: Hadoop imports Fail

2015-04-14 Thread Anand Murali
ridale Ltd, its subsidiaries nor their employees accept any responsibility.     -Original Message- From: Andre Kelpe [mailto:ake...@concurrentinc.com] Sent: 14 April 2015 09:52 To: user@hadoop.apache.org Subject: Re: Hadoop imports Fail  Please just use a build tool like maven or gradle for your

RE: Hadoop imports Fail

2015-04-14 Thread Mich Talebzadeh
ity. -Original Message- From: Andre Kelpe [mailto:ake...@concurrentinc.com] Sent: 14 April 2015 09:52 To: user@hadoop.apache.org Subject: Re: Hadoop imports Fail Please just use a build tool like maven or gradle for your build. There is no way to manage your classpath like this

Re: Hadoop imports Fail

2015-04-14 Thread Andre Kelpe
Please just use a build tool like maven or gradle for your build. There is no way to manage your classpath like this and stay sane. Nobody does this and you shouldn't either. - André On Tue, Apr 14, 2015 at 7:34 AM, Anand Murali wrote: > Dear Naik: > > I have already set path both for Hadoop and

Re: Hadoop imports Fail

2015-04-13 Thread Anand Murali
Dear Naik: I have already set path both for Hadoop and Java in .hadoop and run it prior to compilation Export JAVA_HOME=/home/anand_vihar/jdk1.7.0_75Export HADOOP_INSTALL=/home/anand_vihar/hadoop-2.6.0PATH=:$PATH:$HADOOP_INSTALL/bin:$HADOOP_INSTALL/sbin:$HADOOP_INSTALL/share:$JAVA_HOME So, is th

Re: Hadoop imports Fail

2015-04-13 Thread Ravindra Kumar Naik
You need to set classpath to hadoop jar java -classpath " MaxTemperatureMapper.java On Mon, Apr 13, 2015 at 11:33 AM, Anand Murali wrote: > Dear Mr. Ted: > > Please find details > > Last login: Sun Apr 12 16:33:18 2015 from localhost > anand_vihar@Latitude-E5540:~$ cd hadoop-2.6.0 > anand_vih

Re: Hadoop imports Fail

2015-04-12 Thread Anand Murali
Dear Mr. Ted: Please find details Last login: Sun Apr 12 16:33:18 2015 from localhost anand_vihar@Latitude-E5540:~$ cd hadoop-2.6.0 anand_vihar@Latitude-E5540:~/hadoop-2.6.0$ . .hadoop anand_vihar@Latitude-E5540:~/hadoop-2.6.0$ cd etc/hadoop anand_vihar@Latitude-E5540:~/hadoop-2.6.0/etc/hadoop$ sh

Re: Hadoop imports Fail

2015-04-12 Thread Ted Yu
Can you tell us how you setup your project? Do you use maven to build it ? Please pastebin snippet of your code and the error you got. Cheers > On Apr 12, 2015, at 4:16 AM, Anand Murali wrote: > > Dear All: > > I am new to hadoop2.6.0. I managed to set up and install Hadoop and Java 1.7.

Hadoop imports Fail

2015-04-12 Thread Anand Murali
Dear All: I am new to hadoop2.6.0. I managed to set up and install Hadoop and Java 1.7. I wrote my first hadoop code with import statements of Hadoop class files. However when I try and compile the code, I get errors, which are reflective of the class files, which I suppose is not imported. I ha