From Beocat
Jump to: navigation, search
mNo edit summary
(HDFS WARNINGS Can I state this any other way?)
Line 7: Line 7:
* Login to Beocat
* Login to Beocat
* From there login to the Hadoop headnode, named 'theia'. <tt>ssh theia</tt>
* From there login to the Hadoop headnode, named 'theia'. <tt>ssh theia</tt>
* Copy files into or out of the Hadoop filesystem. Use <tt>hadoop fs put</tt> and <tt>hadoop fs get</tt> to copy files. Note that the Hadoop filesystem is both smaller than the Beocat filesystem and is not backed up. Please copy data back out of Hadoop as soon as you are done using it. '''Data which remains untouched may be deleted with no prior notice.'''
* Copy files into or out of the Hadoop filesystem. Use <tt>hadoop fs put</tt> and <tt>hadoop fs get</tt> to copy files. Note:
*# the Hadoop filesystem is both smaller than the Beocat filesystem and is '''not backed up.'''
*# Please copy data back out of Hadoop as soon as you are done using it.
*# Data which remains untouched may be '''deleted with no prior notice.'''
*# We make no claims of the viability of data within HDFS nor for how long the data will be available.
*# If you have data from your runs that you need to keep please copy it out of HDFS as soon as possible.
*# The HDFS volume may disappear at any point in time and when it comes back your data may not.
* Run your Hadoop job. <tt>hadoop -jar path/to/file.jar</tt>
* Run your Hadoop job. <tt>hadoop -jar path/to/file.jar</tt>



Revision as of 19:36, 2 September 2014

Hadoop

Hadoop is a "Big Data" distributed processing service. It is primarily used for very large data sets (greater than 1 TB).

Hadoop does not integrate well with SGE (or, for that matter, any other HPC scheduling system). So we have created our own separate Cloudera Hadoop cluster to accommodate the increased usage of Hadoop on campus.

To use Hadoop:

  • Login to Beocat
  • From there login to the Hadoop headnode, named 'theia'. ssh theia
  • Copy files into or out of the Hadoop filesystem. Use hadoop fs put and hadoop fs get to copy files. Note:
    1. the Hadoop filesystem is both smaller than the Beocat filesystem and is not backed up.
    2. Please copy data back out of Hadoop as soon as you are done using it.
    3. Data which remains untouched may be deleted with no prior notice.
    4. We make no claims of the viability of data within HDFS nor for how long the data will be available.
    5. If you have data from your runs that you need to keep please copy it out of HDFS as soon as possible.
    6. The HDFS volume may disappear at any point in time and when it comes back your data may not.
  • Run your Hadoop job. hadoop -jar path/to/file.jar

(Some) Best Practices

  • Block size is set to 64MB on the HDFS filesystem
    • As such, please keep the files stored there at least that size. If you need smaller files, we recommend using HAR files
  • Multiple users running jobs at the same time can be problematic, as they can slow each other down. If you can, try to run jobs when the cluster isn't already running someone else's jobs.