Difference between revisions of "CSC352 Notes 2013"
(New page: =Notes on doing example in Yahoo Tutorial, Module 2= http://developer.yahoo.com/hadoop/tutorial/module2.html cd ../hadoop/examples/ cat > HDFSHelloWorld.java mkdir hello_clas...) |
(→Notes on doing example in Yahoo Tutorial, Module 2) |
||
Line 1: | Line 1: | ||
+ | =Setting up Eclipse for Hadoop= | ||
+ | |||
+ | * Java 1.6 | ||
+ | * http://v-lad.org/Tutorials/Hadoop/03%20-%20Prerequistes.html | ||
+ | * download Eclipse 3.3.2 (Europa) from http://www.eclipse.org/downloads/packages/release/europa/winter | ||
+ | * Use Hadoop 0.19.1 | ||
+ | |||
=Notes on doing example in Yahoo Tutorial, Module 2= | =Notes on doing example in Yahoo Tutorial, Module 2= | ||
Revision as of 12:10, 15 December 2009
Setting up Eclipse for Hadoop
- Java 1.6
- http://v-lad.org/Tutorials/Hadoop/03%20-%20Prerequistes.html
- download Eclipse 3.3.2 (Europa) from http://www.eclipse.org/downloads/packages/release/europa/winter
- Use Hadoop 0.19.1
Notes on doing example in Yahoo Tutorial, Module 2
http://developer.yahoo.com/hadoop/tutorial/module2.html
cd ../hadoop/examples/ cat > HDFSHelloWorld.java mkdir hello_classes javac -classpath /Users/thiebaut/hadoop/hadoop-0.19.2-core.jar -d hello_classes HDFSHelloWorld.java emacs HDFSHelloWorld.java -nw javac -classpath /Users/thiebaut/hadoop/hadoop-0.19.2-core.jar -d hello_classes HDFSHelloWorld.java ls ls hello_classes/ jar -cvf helloworld.jar -C hello_classes/ . ls ls -ltr find . -name "*" -print hadoop jar helloworld.jar HDFSHelloWorld Hello, world!