throw new HiveRuntimeException(e.getMessage(), e);
}
}
public static void main(String[] argz) {
GetOpt opt = new GetOpt();
opt.add("host", true);
opt.add("db", true);
opt.add("user", true);
opt.add("pw", true);
Map<String, String> argMap = opt.toMap(argz);
if (!opt.validate())
throw new IllegalArgumentException(
"Usage: java -jar hivedb-installer.jar -host <host> -db <database name> -user <username> -pw <password>");
else {
try {
//Tickle driver