All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.splout.db.hadoop.Driver Maven / Gradle / Ivy

Go to download

Splout is a read only, horizontally scalable SQL database that plays well with Hadoop.

There is a newer version: 0.3.0
Show newest version
package com.splout.db.hadoop;

/*
 * #%L
 * Splout SQL Hadoop library
 * %%
 * Copyright (C) 2012 Datasalt Systems S.L.
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

import org.apache.hadoop.util.ProgramDriver;

import com.splout.db.benchmark.BenchmarkStoreTool;
import com.splout.db.benchmark.IdentityJob;
import com.splout.db.examples.PageCountsExample;
import com.splout.db.integration.HadoopIntegrationTest;

/**
 * Hadoop's Driver - add here any Hadoop programs that could be run by default with the Splout JAR.
 */
public class Driver extends ProgramDriver {

	public Driver() throws Throwable {
		super();
		addClass("benchmarkstoretool", BenchmarkStoreTool.class, "A tool for creating a tablespace for benchmarking Splout.");
		addClass("benchmarkdeploytool", DeployerCMD.class, "A tool for deploying a tablespace created with Benchmark store tool.");
		addClass("generate", GeneratorCMD.class, "A tool for generating tablespaces from existing files (CSV).");
		addClass("simple-generate", SimpleGeneratorCMD.class, "A tool for converting a CSV file into a tablespace with just one table. See  tool for multiple table or multiple tablespace cases.");
		addClass("deploy", DeployerCMD.class, "A tool for deploying tablespaces generated with tools like  or  into an existing Splout cluster");
		addClass("pagecounts", PageCountsExample.class, "The Wikipedia Page Counts Example");
		addClass("integrationtest", HadoopIntegrationTest.class, "A Hadoop-compatibility integrationt test");
		addClass("identityjob", IdentityJob.class, "The identity Job which can be used to do a comparative benchmark of Splout");
	}
	
	public static void main(String[] args) throws Throwable {
		Driver driver = new Driver();
		driver.driver(args);
		System.exit(0);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy