docker-predictionio icon indicating copy to clipboard operation
docker-predictionio copied to clipboard

Build error, no engine found with quickstart examples

Open rogierpijpers opened this issue 7 years ago • 5 comments

When I follow the quickstart example for similar product in the 0.12.0 version docker container, I get

[INFO] [Engine$] Looking for an engine...
[ERROR] [Engine$] No engine found. Your build might have failed. Aborting.```

scalaVersion in engine.json is 2.11.8 and so is the default PredictionIO version.

rogierpijpers avatar Mar 02 '18 15:03 rogierpijpers

Might be just me... but rebuilding the docker image worked for me.

rogierpijpers avatar Mar 05 '18 15:03 rogierpijpers

@rogierpijpers do you mean that when you pulled the docker image of version 0.12.0 from docker registry, there was an issue; and when you rebuilt docker image from the github, the issue resolved? There have been new docker image in the docker registry, would you like to try again?

steveny2k avatar Mar 15 '18 19:03 steveny2k

I have the same problem when trying to build the engine.json. Actually when I ask for scala -version command is not found.

svillicana avatar May 08 '18 21:05 svillicana

I had the same issue. The problem was in permissions. I downloaded the engine template to the / root folder. Checked permissions for files and folders via ls -l. Pio user had read and write privileges for Predictionio folder, but not for MyRecommendation folder where the engine template is located. Here is the output of ls -l => drwxr-xr-x 6 root root 4096 May 26 11:49 MyRecommendation drwxr-xr-x 1 pio pio 4096 May 26 17:21 PredictionIO-0.12.0-incubating

Solution Download the engine template into PredictionIO-0.12.0-incubating folder (for user pio to have read write privileges). Next, inside /PredictionIO-0.12.0-incubating/MyRecommendation folder run pio build

nurnisi avatar May 26 '18 17:05 nurnisi

Thanks a lot for your solution @nurnisi

steveny2k avatar May 26 '18 21:05 steveny2k