Version 3 (modified by waue, 16 years ago) (diff) |
---|
hadoop 0.20 程式開發
eclipse plugin + Makefile
- 開發hadoop 需要用到許多的物件導向語法,包括繼承關係、介面類別,而且需要匯入正確的classpath,否則寫hadoop程式只是打字練習...
- 用類 vim 來處理這種複雜的程式,有可能會變成一場惡夢,因此用eclipse開發,搭配mapreduce-plugin會事半功倍。
- 早在hadoop 0.19~0.16之間的版本,我就試過各個plugin,每個版本的plugin都確實有大大小小的問題,如:hadoop plugin 無法正確使用、無法run as mapreduce。hadoop0.16搭配IBM的hadoop_plugin 可以提供完整的功能,但是,老兵不死,只是凋零...
- 時代進步如斯,要跟上潮流,因此此篇的重點在:用eclipse開發hadoop程式,並且測試撰寫的程式運作在hadoop上
1. 安裝eclipse
Attachments (26)
- 1-1.png (41.7 KB) - added by waue 16 years ago.
- 2-1.png (28.7 KB) - added by waue 16 years ago.
- 2-2.png (48.6 KB) - added by waue 16 years ago.
- 2-3.png (64.8 KB) - added by waue 16 years ago.
- 2-4.png (42.0 KB) - added by waue 16 years ago.
- 2-4-2.png (52.6 KB) - added by waue 16 years ago.
- 2-5.png (85.1 KB) - added by waue 16 years ago.
- 2-5-1.png (122.6 KB) - added by waue 16 years ago.
- 2-5-2.png (85.0 KB) - added by waue 16 years ago.
- 2-5-3.png (56.4 KB) - added by waue 16 years ago.
- 2-6.png (56.4 KB) - added by waue 16 years ago.
- 2-6-1.png (52.8 KB) - added by waue 16 years ago.
- 2-6-2.png (53.4 KB) - added by waue 16 years ago.
- 3-1.png (40.7 KB) - added by waue 16 years ago.
- 3-2.png (173.1 KB) - added by waue 16 years ago.
- 3-3.png (40.4 KB) - added by waue 16 years ago.
- 3-4.png (52.5 KB) - added by waue 16 years ago.
- 3-5.png (212.1 KB) - added by waue 16 years ago.
- file-new-mapper.png (30.4 KB) - added by waue 16 years ago.
- file-new-mr-driver.png (30.2 KB) - added by waue 16 years ago.
- file-new-project.png (26.7 KB) - added by waue 16 years ago.
- file-new-reducer.png (25.8 KB) - added by waue 16 years ago.
- run-on-hadoop.png (398.2 KB) - added by waue 16 years ago.
- win-open-other.png (31.4 KB) - added by waue 16 years ago.
- 4-1.png (200.2 KB) - added by waue 16 years ago.
- 4-2.png (236.2 KB) - added by waue 16 years ago.