| 8 | === 5/21 === |
| 9 | * 藉著用此篇文章實做設計map-reduce 程式 [http://www.umiacs.umd.edu/~jimmylin/cloud9/umd-hadoop-dist/cloud9-docs/howto/start.html cloud 9] ,以下紀錄我的作法: |
| 10 | 1. Eclipse > Preferences). Select option Team > SVN. Change SVN interface to "SVNKit". |
| 11 | 2. by right clicking on left panel > New > Repository Location. |
| 12 | * umd-hadoop-dist: https://subversion.umiacs.umd.edu/umd-hadoop/dist |
| 13 | * umd-hadoop-core: https://subversion.umiacs.umd.edu/umd-hadoop/core |
| 14 | 3. Right click on trunk > Checkout... Follow dialog to check out repository. |
| 15 | * ps: 注意 subclipse 相當耗資源,因此執行eclipse 時需加入參數如 "eclipse -vmargs -Xmx512m" 以免遭到 out of memory error |
| 16 | 4. switch back to the Java perspective, have two new projects: umd-hadoop-core and umd-hadoop-dist. |
| 17 | 5. Select menu option: Project > Clean... |
| 18 | 卡住.. 因為發生了九百多個錯誤 |
| 19 | 6. enable the MapReduce servers window go to: Window > Show View > Other... > MapReduce Tools > MapReduce Servers |
| 20 | 7.1 At the top right edge of the tab, you should see two little blue elephant icons. The one on the right allows you to add a new MapReduce server location. The hostname should be the IP address of the controller. You want to enable "Tunnel Connections" and put in the IP address of the gateway. (只有看到一隻大象) |
| 21 | 7. 2 At this point, you should now have access to DFS. It should show up under a little elephant icon in the Project Explorer (on the left side of Eclipse). You can now browse the directory tree. Your home directory should be /user/your_username. A sample collection consisting of the Bible and Shakespeare's works has been preloaded on the cluster, stored at /shared/sample-input. (卡住) |
| 22 | 8. Find edu.umd.cloud9.demo.DemoWordCount in the Project Explorer (卡住,找不到該檔) |
| 23 | |