public class DBCountPageView
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.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() |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.