This project contains a number of scripts for running Big Data software in HPC environments. Thus far, Hadoop, Hbase, Pig, Spark, Storm, Tachyon, and Zookeeper are supported. It currently supports running over the schedulers of Slurm and Moab, and the resource managers of Slurm and Torque. It currently supports running over the parallel file system Lustre and running over any generic network filesytem.
The basic idea behind these scripts are to:
-
Allocate nodes on a cluster using your HPC scheduler/resource manager. Slurm, Moab+Slurm, and Moab+Torque are currently supported.
-
Scripts will create configuration files for all appropriate projects (Hadoop, Hbase, etc.) The configuration files will be setup so the rank 0 node is the "master". All compute nodes will have configuration files created that point to the node designated as the master server.
The configuration files will be populated with values for your filesystem choice and the hardware that exists in your cluster. Reasonable attempts are made to determine optimal values for your system and hardware (they are almost certainly better than the default values). A number of options exist to adjust these values for individual jobs.
-
Launch daemons on all nodes. The rank 0 node will run master daemons, such as the Hadoop Namenode or the Hbase Master. All remaining nodes will run appropriate slave daemons, such as the Hadoop Datanodes or Hbase RegionServers.
-
Now you have a mini big data cluster to do whatever you want. You can log into the master node and interact with your mini big data cluster however you want. Or you could have Magpie run a script to execute your big data calculation instead.
-
When your job completes or your allocation time has run out, Magpie will cleanup your job by tearing down daemons. When appropriate, Magpie may also do some additional cleanup work to hopefully make re-execution on later runs cleaner and faster (e.g. Hbase compaction).
Additional details can be found in the project README file
The following packages have been tested for minimal support in Magpie. Versions not listed below should work with Magpie if the configuration/setup of those versions is compatible with the versions listed below.
-
-
- Requires patch against binary distro, no re-compilation needed
-
- ^ - Requires patch against source, requires re-compilation
Hadoop - 1.2.1+, 2.1.0-beta+, 2.2.0+, 2.4.0+, 2.6.0+
Pig - 0.12.0, 0.12.1, 0.14.0
Hbase - 0.96.1.1-hadoop2+, 0.98.3-hadoop2+, 0.98.9-hadoop2+
Spark - 0.9.1-bin-hadoop2+, 1.0.0-bin-hadoop2^, 1.2.0-bin-hadoop2.4+, 1.3.0-bin-hadoop2.4+
Storm - 0.9.2^, 0.9.3, 0.9.4
Zookeeper - 3.4.5, 3.4.6
UDA/uda-plugin - 3.3.2-0
Tachyon - 0.6.0+, 0.6.1+ [1]
[1] - Default Tachyon build is against Hadoop 1.0.4 and Spark may be built against non-0.6.X builds. Recompilation of Tachyon & Spark may be needed depending on your environment. See README for more details