hi,all 
I'm using PredictionIO-0.14.0 build from source code : ./make-distribution.sh 
-Dscala.version=2.11.12 -Dhadoop.version=2.7.7 -Dspark.version=2.4.5 
-Delasticsearch.version=6.8.7
I follow the quickstart : 
http://predictionio.apache.org/templates/recommendation/quickstart/ 
when I run to : poi deploy , I got error 
$ pio deploy
Wed Mar 18 14:49:33 CST 2020 WARN: Establishing SSL connection without server's 
identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ 
and 5.7.6+ requirements SSL connection must be established by default if 
explicit option isn't set. For compliance with existing applications not using 
SSL the verifyServerCertificate property is set to 'false'. You need either to 
explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide 
truststore for server certificate verification.
[WARN] [WorkflowUtils$] Environment variable POSTGRES_JDBC_DRIVER is pointing 
to a nonexistent file /data/sk/PredictionIO-0.14.0/lib/postgresql-42.0.0.jar. 
Ignoring.
[INFO] [Runner$] Submission command: 
/home/devuser/spark-2.4.3-bin-hadoop2.7/bin/spark-submit --class 
org.apache.predictionio.workflow.CreateServer --jars 
file:/data/sk/PredictionIO-0.14.0/lib/mysql-connector-java-8.0.11.jar,file:/data/sk/MyRecommendation/target/scala-2.11/template-scala-parallel-recommendation_2.11-0.1.0-SNAPSHOT.jar,file:/data/sk/MyRecommendation/target/scala-2.11/template-scala-parallel-recommendation-assembly-0.1.0-SNAPSHOT-deps.jar,file:/data/sk/PredictionIO-0.14.0/lib/spark/pio-data-elasticsearch-assembly-0.14.0.jar,file:/data/sk/PredictionIO-0.14.0/lib/spark/pio-data-hbase-assembly-0.14.0.jar,file:/data/sk/PredictionIO-0.14.0/lib/spark/pio-data-hdfs-assembly-0.14.0.jar,file:/data/sk/PredictionIO-0.14.0/lib/spark/pio-data-jdbc-assembly-0.14.0.jar,file:/data/sk/PredictionIO-0.14.0/lib/spark/pio-data-localfs-assembly-0.14.0.jar,file:/data/sk/PredictionIO-0.14.0/lib/spark/pio-data-s3-assembly-0.14.0.jar
 --files 
file:/data/sk/PredictionIO-0.14.0/conf/log4j.properties,file:/data/bdp/conf/hadoop/core-site.xml,file:/data/bdp/conf/hbase/hbase-site.xml
 --driver-class-path 
/data/sk/PredictionIO-0.14.0/conf:/data/sk/PredictionIO-0.14.0/lib/postgresql-42.0.0.jar:/data/sk/PredictionIO-0.14.0/lib/mysql-connector-java-8.0.11.jar:/data/bdp/conf/hadoop:/data/bdp/conf/hbase
 --driver-java-options -Dpio.log.dir=/home/devuser 
file:/data/sk/PredictionIO-0.14.0/lib/pio-assembly-0.14.0.jar 
--engineInstanceId dad6e2d4-012d-45ac-905f-43d53ae66b17 --engine-variant 
file:/data/sk/MyRecommendation/engine.json --ip 0.0.0.0 --port 8000 
--event-server-ip 0.0.0.0 --event-server-port 7070 --json-extractor Both --env 
PIO_ENV_LOADED=1,PIO_STORAGE_SOURCES_MYSQL_PASSWORD=ABCplm123!@#,PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta,PIO_FS_BASEDIR=/home/devuser/.pio_store,PIO_STORAGE_SOURCES_MYSQL_URL=jdbc:mysql://10.8.130.38:3306/pio,PIO_HOME=/data/sk/PredictionIO-0.14.0,PIO_FS_ENGINESDIR=/home/devuser/.pio_store/engines,PIO_STORAGE_SOURCES_MYSQL_TYPE=jdbc,PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=MYSQL,PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=MYSQL,PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event,PIO_STORAGE_SOURCES_MYSQL_USERNAME=root,PIO_FS_TMPDIR=/home/devuser/.pio_store/tmp,PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model,PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=MYSQL,PIO_CONF_DIR=/data/sk/PredictionIO-0.14.0/conf
Wed Mar 18 14:49:38 CST 2020 WARN: Establishing SSL connection without server's 
identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ 
and 5.7.6+ requirements SSL connection must be established by default if 
explicit option isn't set. For compliance with existing applications not using 
SSL the verifyServerCertificate property is set to 'false'. You need either to 
explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide 
truststore for server certificate verification.
[INFO] [MasterActor] Undeploying any existing engine instance at 
http://0.0.0.0:8000
[WARN] [MasterActor] Nothing at http://0.0.0.0:8000
[WARN] [WorkflowUtils$] Non-empty parameters supplied to 
org.example.recommendation.Preparator, but its constructor does not accept any 
arguments. Stubbing with empty parameters.
[WARN] [WorkflowUtils$] Non-empty parameters supplied to 
org.example.recommendation.Serving, but its constructor does not accept any 
arguments. Stubbing with empty parameters.
[INFO] [log] Logging initialized @5646ms
[INFO] [Server] jetty-9.3.z-SNAPSHOT, build timestamp: unknown, git hash: 
unknown
[INFO] [Server] Started @5725ms
[INFO] [AbstractConnector] Started 
ServerConnector@330fae5d{HTTP/1.1,[http/1.1]}{0.0.0.0:4040}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@66ace5e8{/jobs,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@27a4b97f{/jobs/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@718b5253{/jobs/job,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@66cc4064{/jobs/job/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@64217283{/stages,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@4f13ad9e{/stages/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@232299d2{/stages/stage,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@1a1ec263{/stages/stage/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@2dc524fb{/stages/pool,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@43d77f53{/stages/pool/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@14fe50d6{/storage,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@781f95f0{/storage/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@7cf984f4{/storage/rdd,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@4ac41df{/storage/rdd/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@62b2d97c{/environment,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@668670cf{/environment/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@56e896cf{/executors,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@302c8774{/executors/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@44a1c134{/executors/threadDump,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@1174d167{/executors/threadDump/json,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@3386368{/static,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@52b89fec{/,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@3bf39e2b{/api,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@5af1107c{/jobs/job/kill,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@51a6f559{/stages/stage/kill,null,AVAILABLE,@Spark}
[INFO] [ContextHandler] Started 
o.s.j.s.ServletContextHandler@7c707268{/metrics/json,null,AVAILABLE,@Spark}
[INFO] [Engine] Using persisted model
[INFO] [Engine] Custom-persisted model detected for algorithm 
org.example.recommendation.ALSAlgorithm
[WARN] [ALSModel] User factor does not have a partitioner. Prediction on 
individual records could be slow.
[WARN] [ALSModel] User factor is not cached. Prediction could be slow.
[WARN] [ALSModel] Product factor does not have a partitioner. Prediction on 
individual records could be slow.
[WARN] [ALSModel] Product factor is not cached. Prediction could be slow.
[ERROR] [OneForOneStrategy] Wrong FS: 
file:/data/sk/MyRecommendation/engine.json, expected: hdfs://nameservice1
[ERROR] [OneForOneStrategy] Wrong FS: 
file:/data/sk/MyRecommendation/engine.json, expected: hdfs://nameservice1


I don't know what's wrong? 

Reply via email to