java 9 version

648 views
Skip to first unread message

bala vivek

unread,
Feb 21, 2018, 12:04:53 AM2/21/18
to actionml-user
Hi,

I upgraded the jdk version to 9 and I use the pio 0.10.0-incubating version. Before the jdk upgrade the pio was working fine.

Once after the java upgrade Im getting the below error,does the pio version which i specified above will support latest version of jdk ?

pio-start-all

Starting Elasticsearch...
Starting HBase...
Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Exception in thread "main" java.lang.ExceptionInInitializerError
   at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:195)
   at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.UnsupportedOperationException: Boot class path mechanism is not supported
   at java.management/sun.management.RuntimeImpl.getBootClassPath(RuntimeImpl.java:99)
   at org.elasticsearch.monitor.jvm.JvmInfo.<clinit>(JvmInfo.java:77)
   ... 2 more
master running as process 46918. Stop it first.
postgresql: unrecognized service
Waiting 10 seconds for HBase to fully initialize...
Starting PredictionIO Event Server...

pio status

[INFO] [Console$] Inspecting PredictionIO...
[INFO] [Console$] PredictionIO 0.10.0-incubating is installed at /data/tools/PredictionIO-0.10.0-incubating
[INFO] [Console$] Inspecting Apache Spark...
[INFO] [Console$] Apache Spark is installed at /data/tools/PredictionIO-0.10.0-incubating/vendors/spark-1.6.3-bin-hadoop2.6
[INFO] [Console$] Apache Spark 1.6.3 detected (meets minimum requirement of 1.3.0)
[INFO] [Console$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[ERROR] [Storage$] Error initializing storage client for source ELASTICSEARCH
[ERROR] [Console$] Unable to connect to all storage backends successfully. The following shows the error message from the storage backend.
[ERROR] [Console$] Data source ELASTICSEARCH was not properly initialized. (org.apache.predictionio.data.storage.StorageClientException)
[ERROR] [Console$] Dumping configuration of initialized storage backend sources. Please make sure they are correct.
[ERROR] [Console$] Source Name: ELASTICSEARCH; Type: (error); Configuration: (error)

Pat Ferrel

unread,
Feb 21, 2018, 12:49:51 PM2/21/18
to bala vivek, actionml-user
PIO 0.10.0 has not been tested with java 9. Java 8 works fine. Also I’m not sure which component services (HDFS, HBase, Spark, Elasticsearch) are tested with Java 9.

In any case you should think about upgrading all, including using PIO 0.12.0 and upgrading to the highest version of all services supported. This will mean at least using Elasticsearch 5.x
 
--
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/a8f11785-2612-4079-9be5-da6253cd3188%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bala vivek

unread,
Feb 26, 2018, 3:24:54 AM2/26/18
to actionml-user
hi Pat,

Is there any official page or link from PredictionIO which says about the versions of vendors and java supported by Prediction IO 0.10.0 ?

Regards
Bala

Pat Ferrel

unread,
Feb 26, 2018, 10:50:47 AM2/26/18
to bala vivek, actionml-user
No, not since we are on PIO 0.12.0 now. You could try looking at back commits in the repo for PIO since the docs are in the same repo. 

What are you looking for? Mostly something compiled for older versions are upwardly compatible. Elasticsearch being the big exception. 0.12.0 requires ES 5.x as I said below and 0.10.0 requires something like ES 1.7.6


From: bala vivek <bala.v...@gmail.com>
Date: February 26, 2018 at 12:24:54 AM
To: actionml-user <action...@googlegroups.com>
Subject:  Re: java 9 version

hi Pat,

Is there any official page or link from PredictionIO which says about the versions of vendors and java supported by Prediction IO 0.10.0 ?

Regards
Bala

On Wednesday, February 21, 2018 at 11:19:51 PM UTC+5:30, pat wrote:
Reply all
Reply to author
Forward
0 new messages