Skip to content

Commit

Permalink
0.8.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dszeto committed Jan 13, 2015
1 parent 750878a commit c353a9e
Show file tree
Hide file tree
Showing 34 changed files with 52 additions and 53 deletions.
24 changes: 12 additions & 12 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# License: http:https://www.apache.org/licenses/LICENSE-2.0

OS=`uname`
PIO_VERSION=0.8.4
PIO_VERSION=0.8.5
SPARK_VERSION=1.2.0
ELASTICSEARCH_VERSION=1.4.2
HBASE_VERSION=0.98.6
Expand Down Expand Up @@ -61,7 +61,7 @@ if [[ "$OS" = "Linux" && $(cat /proc/1/cgroup) == *cpu:/docker/* ]]; then
# Docker
# REQUIRED: No user input for Docker!
echo -e "\033[1;33mDocker detected!\033[0m"
echo -e "\033[1;33mForcing Docker defaults!\033[0m"
echo -e "\033[1;33mForcing Docker defaults!\033[0m"
pio_dir=$PIO_DIR
vendors_dir=$pio_dir/vendors

Expand All @@ -79,30 +79,30 @@ if [[ "$OS" = "Linux" && $(cat /proc/1/cgroup) == *cpu:/docker/* ]]; then
echo "HBase: $hbase_dir"
echo "ZooKeeper: $zookeeper_dir"
echo "--------------------------------------------------------------------------------"

# Java Install
echo -e "\033[1;36mStarting Java install...\033[0m"

sudo apt-get install openjdk-7-jdk -y

echo -e "\033[1;32mJava install done!\033[0m"

JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
else
# Interactive
while true; do
echo -e "\033[1mWhere would you like to install PredictionIO?\033[0m"
read -e -p "Installation path ($PIO_DIR): " pio_dir
pio_dir=${pio_dir:-$PIO_DIR}

read -e -p "Vendor path ($pio_dir/vendors): " vendors_dir
vendors_dir=${vendors_dir:-$pio_dir/vendors}

spark_dir=$vendors_dir/spark-$SPARK_VERSION
elasticsearch_dir=$vendors_dir/elasticsearch-$ELASTICSEARCH_VERSION
hbase_dir=$vendors_dir/hbase-$HBASE_VERSION
zookeeper_dir=$vendors_dir/zookeeper

echo "--------------------------------------------------------------------------------"
echo -e "\033[1;32mOK, looks good!\033[0m"
echo "You are going to install PredictionIO to: $pio_dir"
Expand All @@ -124,12 +124,12 @@ else
case $distribution in
"Debian/Ubuntu")
echo -e "\033[1;36mStarting Java install...\033[0m"

echo -e "\033[33mThis script requires superuser access!\033[0m"
echo -e "\033[33mYou will be prompted for your password by sudo:\033[0m"

sudo apt-get install openjdk-7-jdk -y

echo -e "\033[1;32mJava install done!\033[0m"
break
;;
Expand All @@ -143,7 +143,7 @@ else
esac
done
fi

# Try to find JAVA_HOME
echo "Locating JAVA_HOME..."
if [[ "$OS" = "Darwin" ]]; then
Expand All @@ -153,7 +153,7 @@ else
JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
fi
echo "Found: $JAVA_HOME"

# Check JAVA_HOME
while [ ! -f "$JAVA_HOME/bin/javac" ]; do
echo -e "\033[1;31mJAVA_HOME is incorrect!\033[0m"
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import UnidocKeys._

name := "pio"

version in ThisBuild := "0.8.5-SNAPSHOT"
version in ThisBuild := "0.8.5"

organization in ThisBuild := "io.prediction"

Expand Down
2 changes: 1 addition & 1 deletion docs/manual/data/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pio: 0.8.4
pio: 0.8.5
spark_download_filename: spark-1.2.0-bin-hadoop2.4
elasticsearch_download_filename: elasticsearch-1.3.2
hbase_basename: hbase-0.98.6
Expand Down
3 changes: 1 addition & 2 deletions docs/manual/source/community/projects.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ to the community! Simply:

URL: https://github.com/PredictionIO/PredictionIO-Vagrant

Bring Up PredictionIO 0.8.4 VM with Vagrant.
Bring Up PredictionIO 0.8.5 VM with Vagrant.

- Core Author: Raphael Mäder

Expand Down Expand Up @@ -67,4 +67,3 @@ based on the PredictionIO Java SDK API.
- Core Author: Themos Piperakis

- Status: It works with PredictionIO v0.8 - Under active development

2 changes: 1 addition & 1 deletion engines/src/main/scala/itemrank/examples/engine.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "io.prediction.engines.itemrank.examples",
"version": "0.8.5-SNAPSHOT",
"version": "0.8.5",
"name": "PredictionIO ItemRank Engine Examples",
"engineFactory": "io.prediction.engines.itemrank.ItemRankEngine"
}
2 changes: 1 addition & 1 deletion engines/src/main/scala/itemrec/examples/engine.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "io.prediction.engines.itemrec.examples",
"version": "0.8.5-SNAPSHOT",
"version": "0.8.5",
"name": "PredictionIO ItemRec Engine Examples",
"engineFactory": "io.prediction.engines.itemrec.ItemRecEngine"
}
2 changes: 1 addition & 1 deletion engines/src/main/scala/itemsim/examples/engine.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "io.prediction.engines.itemsim.examples",
"version": "0.8.5-SNAPSHOT",
"version": "0.8.5",
"name": "PredictionIO ItemSim Engine Examples",
"engineFactory": "io.prediction.engines.itemsim.ItemSimEngine"
}
2 changes: 1 addition & 1 deletion examples/experimental/java-local-helloworld/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ name := "example-java-local-helloworld"
organization := "org.sample"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
2 changes: 1 addition & 1 deletion examples/experimental/java-local-regression/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ organization := "myorg"
version := "0.0.1-SNAPSHOT"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
6 changes: 3 additions & 3 deletions examples/experimental/java-local-tutorial/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ name := "java-local-tutorial"

organization := "io.prediction"

version := "0.8.5-SNAPSHOT"
version := "0.8.5"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "engines" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"io.prediction" %% "engines" % "0.8.5" % "provided",
"org.apache.mahout" % "mahout-core" % "0.9",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "io.prediction.examples.java.recommendations.tutorial1.EngineFactory",
"version": "0.8.5-SNAPSHOT",
"version": "0.8.5",
"name": "Simple Recommendations Engine",
"engineFactory": "io.prediction.examples.java.recommendations.tutorial1.EngineFactory"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "io.prediction.examples.java.recommendations.tutorial4.EngineFactory",
"version": "0.8.5-SNAPSHOT",
"version": "0.8.5",
"name": "FeatureBased Recommendations Engine",
"engineFactory": "io.prediction.examples.java.recommendations.tutorial4.EngineFactory"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "io.prediction.examples.java.recommendations.tutorial4.SingleEngineFactory",
"version": "0.8.5-SNAPSHOT",
"version": "0.8.5",
"name": "FeatureBased Recommendations Engine",
"engineFactory": "io.prediction.examples.java.recommendations.tutorial4.SingleEngineFactory"
}
2 changes: 1 addition & 1 deletion examples/experimental/java-parallel-helloworld/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ name := "example-java-parallel-helloworld"
organization := "org.sample"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "examples-friendrecommendation"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "data" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"io.prediction" %% "data" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
4 changes: 2 additions & 2 deletions examples/experimental/scala-local-helloworld/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "example-scala-local-helloworld"
organization := "org.sample"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "data" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"io.prediction" %% "data" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ organization := "myorg"
version := "0.0.1-SNAPSHOT"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "engines" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"io.prediction" %% "engines" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ organization := "myorg"
version := "0.0.1-SNAPSHOT"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "engines" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"io.prediction" %% "engines" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided")
2 changes: 1 addition & 1 deletion examples/experimental/scala-local-regression/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name := "example-scala-local-regression"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.json4s" %% "json4s-native" % "3.2.10",
"org.scalanlp" %% "nak" % "1.3")
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-recommendation-custom-preparator"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-graphx" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-recommendation"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-recommendation"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name := "template-scala-parallel-recommendation"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")

Expand Down
2 changes: 1 addition & 1 deletion examples/experimental/scala-parallel-regression/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ organization := "myorg"
version := "0.0.1-SNAPSHOT"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0"
exclude("org.apache.spark", "spark-core_2.10")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-similar-dimsum"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
2 changes: 1 addition & 1 deletion examples/experimental/scala-recommendations/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name := "example-scala-recommendations"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"commons-io" % "commons-io" % "2.4",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided",
Expand Down
4 changes: 2 additions & 2 deletions examples/experimental/scala-stock/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name := "example-scala-stock"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "engines" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"io.prediction" %% "engines" % "0.8.5" % "provided",
"com.github.scopt" %% "scopt" % "3.2.0",
"commons-io" % "commons-io" % "2.4",
"org.apache.commons" % "commons-math3" % "3.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name := "template-scala-parallel-classification"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.4" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"commons-io" % "commons-io" % "2.4",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-recommendation-custom-preparator"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-recommendation"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
2 changes: 1 addition & 1 deletion templates/scala-parallel-classification/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name := "template-scala-parallel-classification"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"commons-io" % "commons-io" % "2.4",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided",
Expand Down
2 changes: 1 addition & 1 deletion templates/scala-parallel-recommendation/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-recommendation"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
2 changes: 1 addition & 1 deletion templates/scala-parallel-similar/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-similar"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")
2 changes: 1 addition & 1 deletion templates/scala-parallel-vanilla/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ name := "template-scala-parallel-vanilla"
organization := "io.prediction"

libraryDependencies ++= Seq(
"io.prediction" %% "core" % "0.8.5-SNAPSHOT" % "provided",
"io.prediction" %% "core" % "0.8.5" % "provided",
"org.apache.spark" %% "spark-core" % "1.2.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.2.0" % "provided")

0 comments on commit c353a9e

Please sign in to comment.