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

com.splout.db.ToolsDriver 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;

/*
 * #%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.BenchmarkTool;
import com.splout.db.hadoop.DeployerCMD;

/**
 * Driver to run different Splout tools
 * TODO Merge with the other Driver?
 */
public class ToolsDriver extends ProgramDriver {

	public ToolsDriver() throws Throwable {
		addClass("benchmark-store", BenchmarkStoreTool.class, "Creates a dataset to be used for benchmarking");
		addClass("benchmark-deploy", DeployerCMD.class, "Deploys a dataset created with the benchmar-store tool into a Splout cluster");
		addClass("benchmark", BenchmarkTool.class, "Runs a benchmark. benchmark-store and benchmark-deploy tool should have been run before.");
	}
	
	public static void main(String args[]) throws Throwable {
		new ToolsDriver().driver(args);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy