@Deprecated public class HadoopLogsAnalyzer extends Configured implements Tool
usage()
, below.构造器和说明 |
---|
HadoopLogsAnalyzer()
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
static void |
main(String[] args)
已过时。
|
int |
run(String[] args)
已过时。
Execute the command with the given arguments.
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public int run(String[] args) throws IOException
Tool
run
在接口中 Tool
args
- command specific arguments.IOException
public static void main(String[] args)
args
- Last arg is the input file. That file can be a directory, in which
case you get all the files in sorted order. We will decompress
files whose nmes end in .gz .
switches: -c collect line types.
-d debug mode
-delays print out the delays [interval between job submit time and
launch time]
-runtimes print out the job runtimes
-spreads print out the ratio of 10%ile and 90%ile, of both the
successful map task attempt run times and the the successful
reduce task attempt run times
-tasktimes prints out individual task time distributions
collects all the line types and prints the first example of each
oneCopyright © 2009 The Apache Software Foundation