You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@hadoop.apache.org by "Cai Xiao(dynaturtle)" <dy...@gmail.com> on 2008/07/24 11:16:15 UTC

Can anyone explain how to use hadoop plugin for eclipse?

I am new to hadoop. And could anyone tell me how I can use hadoop eclipse
plugin?
I have troubled with how to use it.
-- 
Department of Spatial Information Science&Technology,
School of Earth&Space Science, Peking University

ADD: Room 3028, Building 46, Peking University, Beijing, P.R. China
Zip Code: 100871

Re: Can anyone explain how to use hadoop plugin for eclipse?

Posted by "Cai Xiao(dynaturtle)" <dy...@gmail.com>.
Hello, Tho Pham,
          Thanks for your nice instruction.
However, I still have some problems when it comes step5
my server info is as following:
hostname: cadev18.asc.cnz.alimama.com
installation directory: hadoop
username: cloud15

And I have set my map/reduce master as:
cadev18.asc.cnz.alimama.com
my user name as:
cloud15
And left other parameters as default.
However,  the server is not correctly connected. Eclipse cannot read the
directory correctly.
So can you give me any suggestin? Is there any other parameter I have to
set.
Thanks

Regards
      Xiao

On Thu, Jul 24, 2008 at 5:34 PM, thopham.asnet <th...@gmail.com>
wrote:

> Hey Cai Xiao,
> You should do the steps below:
>
> 1. Open the path $HADOOP_HOME/contrib/eclipse-plugin, you will find a
> hadoop plugin for eclipse. Copy this .jar file to plugin folder of Eclipse.
> 2. Start Eclipse, select Windows\Preferences, then select Hadoop Map/Reduce
> node, you have to point to the root directory of Hadoop installation.
> 3. Restart Eclipse
> 4. Open Map/Reduce perspective in Eclipse
> 5. Create a new Map/Reduce server location by the instruction of the
> dialog.
> 6. Start your HDFS server and Map/Reduce master
> 7. Now, you can browse HDFS directory and submit your job to Map/Reduce
> server
>
> Good luck and have fun,
>
> Ps: Don't forget setting necessary environment variables.
>
> Best regards,
> Tho Pham
>
>
> Cai Xiao(dynaturtle) wrote:
>
>> I am new to hadoop. And could anyone tell me how I can use hadoop eclipse
>> plugin?
>> I have troubled with how to use it.
>>
>>
>
>


-- 
Department of Spatial Information Science&Technology,
School of Earth&Space Science, Peking University

ADD: Room 3028, Building 46, Peking University, Beijing, P.R. China
Zip Code: 100871

Re: Can anyone explain how to use hadoop plugin for eclipse?

Posted by "thopham.asnet" <th...@gmail.com>.
Hey Cai Xiao,
You should do the steps below:

1. Open the path $HADOOP_HOME/contrib/eclipse-plugin, you will find a 
hadoop plugin for eclipse. Copy this .jar file to plugin folder of Eclipse.
2. Start Eclipse, select Windows\Preferences, then select Hadoop 
Map/Reduce node, you have to point to the root directory of Hadoop 
installation.
3. Restart Eclipse
4. Open Map/Reduce perspective in Eclipse
5. Create a new Map/Reduce server location by the instruction of the dialog.
6. Start your HDFS server and Map/Reduce master
7. Now, you can browse HDFS directory and submit your job to Map/Reduce 
server

Good luck and have fun,

Ps: Don't forget setting necessary environment variables.

Best regards,
Tho Pham

Cai Xiao(dynaturtle) wrote:
> I am new to hadoop. And could anyone tell me how I can use hadoop eclipse
> plugin?
> I have troubled with how to use it.
>