anchor.diff:  
   #### Spark Setup
   
  -Apache Spark is the default processing engine for PredictionIO. Download [Apache
  -Spark release 1.2.0 package hadoop2.4](http://spark.apache.org/downloads.html).
  -Extract the file, and set the `SPARK_HOME` configuration in `PredictionIO-<%= data.versions.pio %>/conf/pio-env.sh`.
  +[Apache Spark](http://spark.apache.org) is the default processing engine for PredictionIO.<br />
  +Download and extract it.
  +
   ```
   $ wget http://d3kbcqa49mib13.cloudfront.net/<%= data.versions.spark_download_filename %>.tgz
   $ tar zxvf <%= data.versions.spark_download_filename %>.tgz
   ```
   
   After that, edit `PredictionIO-<%= data.versions.pio %>/conf/pio-env.sh`.
  +
   ```
   SPARK_HOME=/home/abc/<%= data.versions.spark_download_filename %>
   ```
  
positive.code: </configuration>
  ```
  
  Edit `<%= data.versions.hbase_basename %>-<%= data.versions.hbase_variant %>/conf/hbase-env.sh` to set `JAVA_HOME` for the cluster.
  For example:
  ```
  export JAVA_HOME=`/usr/lib/jvm/java-8-oracle/jre`
  ```
  
  For Mac users, use this instead:
  ```
  export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
  ```
  
  In addition, you must set your environment variable `JAVA_HOME`.
  For example, in `/home/abc/.bashrc` add the following line:
  ```
  export JAVA_HOME=`/usr/lib/jvm/java-8-oracle`
  ```
  
negative.code: 
  #### Elasticsearch Setup
  
  [Elasticsearch](http://www.elasticsearch.org/) is the default metadata store for PredictionIO.<br />
  Download and extract it.
  
  ```
  $ wget https://download.elasticsearch.org/elasticsearch/elasticsearch/<%= data.versions.elasticsearch_download_filename %>.tar.gz
  $ tar zxvf <%= data.versions.elasticsearch_download_filename %>.tar.gz
  ```
  
  After that, edit `PredictionIO-<%= data.versions.pio %>/conf/pio-env.sh`.
  
  ```
  PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=/home/abc/<%= data.versions.elasticsearch_download_filename %>
  ```
  
  If you are using a shared network, change the `network.host` line in
  `<%= data.versions.elasticsearch_download_filename %>/config/elasticsearch.yml` to `network.host: 127.0.0.1` because by default,
  Elasticsearch looks for other machines on the network upon setup and you may run
  into weird errors if there are other machines that is also running
  Elasticsearch.
  If you are not using the default setting at localhost. You may change the
  following in `PredictionIO-<%= data.versions.pio %>/conf/pio-env.sh` to fit your setup.
  
  ```
  PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch
  PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost
  