@Deprecated public class HadoopLogsAnalyzer extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
usage(), below.| Constructor and Description |
|---|
HadoopLogsAnalyzer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Deprecated.
|
int |
run(String[] args)
Deprecated.
|
public int run(String[] args) throws IOException
run in interface org.apache.hadoop.util.ToolIOExceptionpublic 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 © 2008–2020 Apache Software Foundation. All rights reserved.