---+ Using Hadoop on the Patas cluster ---++ General Info [[http://hadoop.apache.org/][Hadoop]] is a processing framework that allows for scalable, distributed processing. It includes a distributed filesystem (HDFS) and a distributed processing framework (MapReduce). Unlike [[HowToUseCondor][Condor]], which can schedule any type of job, Hadoop jobs must be written specifically to work with the MapReduce framework. However, for jobs that are well-suited to it, it automates some of the tasks you'd otherwise have to do with your own code in a Condor job. ---++ Local installation details Hadoop is installed under /opt/hadoop/bin. This directory is on the system path so you can run Hadoop commands without specifying this directory. You will, however, need to add /opt/hadoop to your Java CLASSPATH when building Java code to run on Hadoop. HDFS directories are layed out somewhat differently than on our local filesystems. Instead of /home2, Hadoop user directories are under /user; i.e., if your !NetID is "jdoe", you have a Hadoop user directory under /user/jdoe. ---++ Documentation * [[http://hadoop.apache.org/common/docs/stable/][Official Hadoop documentation]] -- somewhat terse, but a good starting point. * HadoopWordCountExample -- a simple example of how to run a parallel job on our cluster, including copying the data to HDFS and extracting the results. * The "hadoop" command, if run by itself, will give simple usage instructions. This also applies to submodules; e.g., "hadoop fs" will list all the commands accepted by the HDFS module. * [[http://cornercases.wordpress.com/2012/04/26/seeing-the-bars-of-the-hadoop-cage/][Seeing the Bars of the Hadoop Cage]] -- advice on how to write Hadoop jobs without locking yourself into the Hadoop model.
This topic: Main
>
CondorClusterHomepage
>
PatasHadoop
Topic revision: r1 - 2012-04-26 - brodbd
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback