make-distribution Error Upgrading to PIO 0.11.0

27 views
Skip to first unread message

mat...@aydus.com

unread,
May 27, 2017, 1:59:15 PM5/27/17
to actionml-user
We're on CentOS 7 upgrading PIO 0.9.7 to the latest PIO 0.11.0 and following upgrade instructions here: https://github.com/actionml/universal-recommender

Running ./make-distribution.sh generates the following error:
/home/centos/PredictionIO-0.11.0/data/src/main/scala/org/apache/predictionio/data/storage/AccessKeys.scala:69: value getInstanceStrong is not a member of object java.security.SecureRandom

Java 1.8 is installed: sudo update-alternatives --config java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64/jre/bin/java

Installed this as suggested here: https://groups.google.com/forum/#!topic/predictionio-user/9YT_YtUOfjQ
sudo yum install oracle-java8-unlimited-jce-policy

Removing all files from .ivy2/ had no effect.

Any ideas/help greatly appreciated.

mat...@aydus.com

unread,
May 27, 2017, 5:33:26 PM5/27/17
to actionml-user
The problem was the JAVA_HOME environment variable was set to version 7. After updating this to 8, make-distribution.sh ran successfully.

Pat Ferrel

unread,
May 27, 2017, 7:52:23 PM5/27/17
to Matthew Valenti, actionml-user, us...@predictionio.incubator.apache.org
We’ve run into this on Ubuntu 14.04 but it works on 16.04. The problem is that you are adding Oracle Java and there is a truststore problem


Look at all comments and especially the one by n611x007, let me know if it works. Otherwise, Google for updating to Java 8 Oracle version on Centos, whatever your version is. 



--
You received this message because you are subscribed to the Google Groups "actionml-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to actionml-use...@googlegroups.com.
To post to this group, send email to action...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/actionml-user/96b1b6ee-63ef-419f-a719-100c2591a658%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages