To run the InvertedIndex examples or any of the examples in this chapter, you must first set up the data files.
To extract the InvertedIndex data files:
Log in to a server where Perfect Balance is installed.
Change to the examples/invindx
subdirectory:
cd /opt/oracle/orabalancer-<version>-h2/examples/invindx
Unzip the data and copy it to the HDFS invindx/input
directory:
./invindx -setup
For complete instructions for running the InvertedIndex example, see /opt/oracle/orabalancer-<version>-h2/examples/invindx/README.txt
.