in src/main/java/com/netflix/bdp/s3mper/cli/S3mper.java [86:103]
private void processMetastore(String [] args) throws Exception {
Map<META_CMD, Command> commands = Maps.newHashMap();
commands.put(META_CMD.LIST, new MetastoreListCommand());
commands.put(META_CMD.RESOLVE, new MetastoreResolveCommand());
commands.put(META_CMD.DELETE_PATH, new MetastorePathDeleteCommand());
commands.put(META_CMD.DELETE_TS, new MetastoreTimeseriesDeleteCommand());
try {
META_CMD cmd = META_CMD.valueOf(args[0].toUpperCase());
Command command = commands.get(cmd);
command.execute(getConf(), popArg(args));
} catch (Exception e) {
System.out.println("Command options are: list, resolve, delete_path, delete_ts\n");
e.printStackTrace();
}
}