com.bigdata.samples
Class ScaleOut
java.lang.Object
com.bigdata.samples.ScaleOut
public class ScaleOut
- extends Object
This class demonstrates concurrent reading and writing with the U10 data set
on the scale-out architecture. One thread writes the U10 data files, doing
a commit after every file (this is not the fastest way to perform load, as
it simulates incremental updates vs bulk load). Another thread asks for
the number of "FullProfessors" every three seconds. You can watch the
number of results rise as more data is loaded.
- Author:
- mikep
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
|
Method Summary |
static void |
main(String[] args)
Manage the control flow of the program. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
ScaleOut
public ScaleOut()
main
public static final void main(String[] args)
- Manage the control flow of the program. Open a proxy to the federation,
kick off the writer, kick off the reader, wait for the writer to
complete, kill the reader, wait for the reader to complete, shutdown the
federation.
- Parameters:
args - specify the location of the cluster's JINI config file
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.