5.10.2 Extracting the Example Data Set

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:

  1. Log in to a server where Perfect Balance is installed.

  2. Change to the examples/invindx subdirectory:

    cd /opt/oracle/orabalancer-<version>-h2/examples/invindx
    
  3. 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.