/** * Prints generic command-line argurments and usage information. * * @param out stream to write usage information to. */ public static void printGenericCommandUsage(PrintStream out) { GenericOptionsParser.printGenericCommandUsage(out); }
private static void printUsage() { System.err.println(USAGES); GenericOptionsParser.printGenericCommandUsage(System.err); }
private static void printUsage(PrintStream err) { err.println("fetchdt retrieves delegation tokens from the NameNode"); err.println(); err.println("fetchdt <opts> <token file>"); err.println("Options:"); err.println(" --webservice <url> Url to contact NN on (starts with " + "http:// or https://)"); err.println(" --renewer <name> Name of the delegation token renewer"); err.println(" --cancel Cancel the delegation token"); err.println(" --renew Renew the delegation token. " + "Delegation " + "token must have been fetched using the --renewer" + " <name> option."); err.println(" --print [--verbose] Print the delegation token, when " + "--verbose is passed, print more information about the token"); err.println(); GenericOptionsParser.printGenericCommandUsage(err); ExitUtil.terminate(1); }
/** * Prints generic command-line argurments and usage information. * * @param out stream to write usage information to. */ public static void printGenericCommandUsage(PrintStream out) { GenericOptionsParser.printGenericCommandUsage(out); }
/** * Prints generic command-line argurments and usage information. * * @param out stream to write usage information to. */ public static void printGenericCommandUsage(PrintStream out) { GenericOptionsParser.printGenericCommandUsage(out); }
/** * Prints generic command-line argurments and usage information. * * @param out stream to write usage information to. */ public static void printGenericCommandUsage(PrintStream out) { GenericOptionsParser.printGenericCommandUsage(out); }
/** * Prints generic command-line argurments and usage information. * * @param out stream to write usage information to. */ public static void printGenericCommandUsage(PrintStream out) { GenericOptionsParser.printGenericCommandUsage(out); }
/** * Prints generic command-line argurments and usage information. * * @param out stream to write usage information to. */ public static void printGenericCommandUsage(PrintStream out) { GenericOptionsParser.printGenericCommandUsage(out); }
protected static int printUsage() { System.err.println( "Usage: [-m <maps>] [-r <reduces>]\n" + " [-keepmap <percent>] [-keepred <percent>]\n" + " [-indir <path>] [-outdir <path]\n" + " [-inFormat[Indirect] <InputFormat>] [-outFormat <OutputFormat>]\n" + " [-outKey <WritableComparable>] [-outValue <Writable>]\n"); GenericOptionsParser.printGenericCommandUsage(System.err); return -1; }
protected static int printUsage() { System.err.println( "Usage: [-m <maps>] [-r <reduces>]\n" + " [-keepmap <percent>] [-keepred <percent>]\n" + " [-indir <path>] [-outdir <path]\n" + " [-inFormat[Indirect] <InputFormat>] [-outFormat <OutputFormat>]\n" + " [-outKey <WritableComparable>] [-outValue <Writable>]\n"); GenericOptionsParser.printGenericCommandUsage(System.err); return -1; }
/** * @return */ private static int printUsage() { System.out.println("Usage: " + NAME + " [generic-options] [-f <file-list-path>] <input-path> <output-path>"); System.out.println(); GenericOptionsParser.printGenericCommandUsage(System.out); return -1; }
private static void printUsage() { System.out.println("Computes the convex hull of an input file of shapes"); System.out.println("Parameters: (* marks required parameters)"); System.out.println("<input file>: (*) Path to input file"); System.out.println("<output file>: Path to output file"); System.out.println("-overwrite: Overwrite output file without notice"); GenericOptionsParser.printGenericCommandUsage(System.out); }
private static void printUsage() { System.err.println("Computes the farthest pair of points in an input file of points"); System.err.println("Parameters: (* marks required parameters)"); System.err.println("<input file>: (*) Path to input file"); System.err.println("<output file>: Path to output file"); System.err.println("-overwrite: Overwrite output file without notice"); GenericOptionsParser.printGenericCommandUsage(System.err); }
private static void printUsage() { System.err.println("Computes the skyline of an input file of points"); System.err.println("Parameters: (* marks required parameters)"); System.err.println("<input file>: (*) Path to input file"); System.err.println("<output file>: Path to output file"); System.err.println("<direction (max-max|max-min|min-max|min-min)>: Direction of skyline (default is max-max)"); System.err.println("-overwrite: Overwrite output file without notice"); GenericOptionsParser.printGenericCommandUsage(System.err); }
private static void printUsage() { System.out.println("Computes the histogram of an input file"); System.out.println("Parameters: (* marks required parameters)"); System.out.println("<input file>: (*) Path to input file"); System.out.println("shape:<input shape>: (*) Input file format"); System.out.println("hist.width:<num of columns>: Number of columns in the histogram (1024)"); System.out.println("hist.height:<num of rows>: Number of rows in the histogram (1024)"); GenericOptionsParser.printGenericCommandUsage(System.out); }
private static void printUsage() { System.out .println("Performs a spatio-temporal indexing for data stored in hadoop"); System.out.println("Parameters: (* marks required parameters)"); System.out.println("<dataset path> - (*) Path to input dataset"); System.out.println("<index path> - (*) Path to index output"); System.out.println("time:yyyy.mm.dd..yyyy.mm.dd - (*) Time range"); System.out.println("-overwrite - Overwrite output file without notice"); GenericOptionsParser.printGenericCommandUsage(System.out); }
private static void printUsage() { System.out.println("Reads a random sample of an input file. Sample is written to the output path."); System.out.println("Parameters (* marks required parameters):"); System.out.println("<input file> - (*) Path to input file"); System.out.println("shape:<s> - Type of shapes stored in the file"); System.out.println("outshape:<s> - Shapes to write to output. If not specified, sampled records are not converted."); System.out.println("ratio:<r> - ratio of random sample to read [0, 1]"); System.out.println("seed:<s> - random seed to use while reading the sample"); GenericOptionsParser.printGenericCommandUsage(System.out); }
protected static void printUsage() { System.out.println("Adds more data to an existing index"); System.out.println("Parameters (* marks required parameters):"); System.out.println("<input file> - (*) Path to input file that contains the new data"); System.out.println("<index path> - (*) Path to the index"); System.out.println("shape:<point|rectangle|polygon> - (*) Type of shapes stored in input file"); System.out.println("sindex:<index> - Type of spatial index (grid|str|str+|rtree|r+tree|quadtree|zcurve|hilbert|kdtree)"); System.out.println("gindex:<index> - Type of the global index (grid|str|rstree|kdtree|zcurve|hilbert|quadtree)"); System.out.println("lindex:<index> - Type of the local index (rrstree)"); GenericOptionsParser.printGenericCommandUsage(System.out); }
private static void printUsage() { System.out.println("Reads a random sample of an input file. Sample is written to stdout"); System.out.println("Parameters (* marks required parameters):"); System.out.println("<input file> - (*) Path to input file"); System.out.println("shape:<s> - Type of shapes stored in the file"); System.out.println("outshape:<s> - Shapes to write to output"); System.out.println("ratio:<r> - ratio of random sample to read [0, 1]"); System.out.println("count:<s> - approximate number of records in the sample"); System.out.println("size:<s> - approximate size of the sample in bytes"); System.out.println("seed:<s> - random seed to use while reading the sample"); GenericOptionsParser.printGenericCommandUsage(System.out); }
protected static int printUsage() { System.err.println( "Usage: [-m <maps>] [-r <reduces>]\n" + " [-keepmap <percent>] [-keepred <percent>]\n" + " [-indir <path>] [-outdir <path]\n" + " [-inFormat[Indirect] <InputFormat>] [-outFormat <OutputFormat>]\n" + " [-outKey <WritableComparable>] [-outValue <Writable>]\n"); GenericOptionsParser.printGenericCommandUsage(System.err); return -1; }