cartershanklin 2b4fa2e639 Added most of TPC-H, some queries need to be fixed. 11 rokov pred
..
src 322d3d128e First commit. 12 rokov pred
Makefile 2b4fa2e639 Added most of TPC-H, some queries need to be fixed. 11 rokov pred
README.md 322d3d128e First commit. 12 rokov pred
pom.xml 822aa6b35a Tweaks and making room for TPC-H 11 rokov pred
tpcds-buffered.patch 322d3d128e First commit. 12 rokov pred
tpcds-strcpy.patch 322d3d128e First commit. 12 rokov pred

README.md

Mapreduce TPC-DS Generator

This simplifies creating tpc-ds data-sets on large scales on a hadoop cluster.

To get set up, you need to run

$ make 

this will download the TPC-DS dsgen program, compile it and use maven to build the MR app wrapped around it.

To generate the data-sets, you need to run (say, for scale = 200, parallelism = 100)

$ hadoop  jar target/tpcds-gen-1.0-SNAPSHOT.jar   -d /tmp/store_sales/200/ -p 100 -s 200 

This uses the existing parallelism in the driver.c of TPC-DS without modification and uses it to run the command on multiple machines instead of running in local fork mode.

The command generates multiple files for each map task, resulting in each table having its own subdirectory.

Assumptions made are that all machines in the cluster are OS/arch/lib identical.