public class DBCountPageView extends Configured implements Tool
<url,referrer,time>
schema.The output is the number of pageviews of each url in the log,
having the schema <url,pageview>.
When called with no arguments the program starts a local HSQLDB server, and
uses this database for storing/retrieving the data.
export HADOOP_CLASSPATH=share/hadoop/mapreduce/lib-examples/hsqldb-2.0.0.jar
-libjars
argument when executing it with hadoop:
-libjars share/hadoop/mapreduce/lib-examples/hsqldb-2.0.0.jar| Constructor and Description |
|---|
DBCountPageView() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
int |
run(String[] args)
Execute the command with the given arguments.
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfCopyright © 2013 Apache Software Foundation. All rights reserved.