deptlab:hadoop:gettingstarted
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deptlab:hadoop:gettingstarted [2017/01/15 20:32] – [Running the WordCount Program] localadmin | deptlab:hadoop:gettingstarted [2025/04/23 16:40] (current) – [Getting Started with Hadoop] localadmin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This is a short tutorial on using Hadoop. | This is a short tutorial on using Hadoop. | ||
| + | |||
| + | Hadoop commands and formats change at times. If the **hadoop fs < | ||
| We'll go through the process of compiling, packaging, and running a simple Hadoop program. | We'll go through the process of compiling, packaging, and running a simple Hadoop program. | ||
| Line 9: | Line 11: | ||
| ===== Logging In ===== | ===== Logging In ===== | ||
| - | First, make sure you can log in to the head node with SSH, currently at zoidberg.cs.ndsu.nodak.edu. You can log in to this server with your CS Domain password or your Blackboard | + | First, make sure you can log in to the head node with SSH, currently at zoidberg.cs.ndsu.nodak.edu. You can log in to this server with your CS Domain password |
| If you have trouble logging in: | If you have trouble logging in: | ||
| Line 91: | Line 93: | ||
| World 2 | World 2 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== Notes on Hadoop 2.8.5 ==== | ||
| + | May need to run: export HADOOP_CLASSPATH=${JAVA_HOME}/ | ||
| + | |||
| + | Compile: hadoop com.sun.tools.javac.Main WordCount.java | ||
| + | |||
| + | Make Jar: jar cf wc.jar WordCount*.class | ||
| + | |||
| + | Execute jar: hadoop jar wc.jar WordCount / | ||
deptlab/hadoop/gettingstarted.1484512333.txt.gz · Last modified: by localadmin
