| --- |
| title: Installing Apache PredictionIO® |
| --- |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| ## Prerequisites |
| |
| It is **very important** to meet the minimum version of the following |
| technologies that power Apache PredictionIO®. |
| |
| * Apache Hadoop 2.6.5 (optional, required only if YARN and HDFS are needed) |
| * Apache Spark 1.6.3 for Hadoop 2.6 |
| * Java SE Development Kit 8 |
| |
| and one of the following sets: |
| |
| * PostgreSQL 9.1 |
| |
| or |
| |
| * MySQL 5.1 |
| |
| or |
| |
| * Apache HBase 0.98.5 |
| * Elasticsearch 1.7.6 |
| |
| WARNING: **Note that support for Scala 2.10 and Spark 1.6.x are deprecated as of PredictionIO 0.13.0, |
| and may be removed in a future release.** |
| |
| If you are running on a single machine, we recommend a minimum of 2GB memory. |
| |
| INFO: If you are using Linux, Apache Spark local mode, which is the default |
| operation mode without further configuration, may not work. In that case, |
| configure your Apache Spark to run in [standalone cluster |
| mode](http://spark.apache.org/docs/latest/spark-standalone.html). |
| |
| ## Installation |
| |
| * [Installing Apache PredictionIO](install-sourcecode.html) |
| |
| You may also use Docker to install Apache PredictionIO® |
| |
| * [Installing Apache PredictionIO with Docker](install-docker.html) |
| |
| |
| [//]: # (* *(coming soon)* Installing Apache PredictionIO with Homebrew) |
| |
| |
| |
| WARNING: **0.8.2 contains schema changes from the previous versions, if you have |
| installed the previous versions, you may need to clear both HBase and |
| Elasticsearch. See more [here](/resources/upgrade/).** |
| |
| |
| [//]: # (## Production Deployment) |
| |
| [//]: # (For production environment setup, please refer to [Production) |
| [//]: # (Deployment](/production/deploy.html) guide.) |