GitHub user washingon opened an issue:
https://github.com/apache/incubator-predictionio/issues/375
[ERROR] [Engine$] No engine found. Your build might have failed. Aborting.
- using PredictionIO-0.11.0-incubating
error when I build the engine with PredictionIO-0.11.0-incubating I get
error: [ERROR] [Engine$] No engine found. Your build might have failed.
Aborting.
```
ubuntu1604vm:~/mnt/PredictionIO-0.11.0-incubating/vendors/incubator-predictionio-template-attribute-based-classifier$
pio build
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/mnt/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/i
mpl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/mnt/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLogger
Binder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Engine$] Using command
'/home/mnt/PredictionIO-0.11.0-incubating/sbt/sbt' at
/home/mnt/PredictionIO-0.11.0-incubating/vendors/i
ncubator-predictionio-template-attribute-based-classifier to
build.
[INFO] [Engine$] If the path above is incorrect, this process will fail.
[INFO] [Engine$] Uber JAR disabled. Making sure
lib/pio-assembly-0.11.0-incubating.jar is absent.
[INFO] [Engine$] Going to run:
/home/mnt/PredictionIO-0.11.0-incubating/sbt/sbt package
assemblyPackageDependency in /home/mnt/Predict
ionIO-0.11.0-incubating/vendors/incubator-predictionio-template-attribute-based-classifier
[INFO] [Engine$] Compilation finished successfully.
[INFO] [Engine$] Looking for an engine...
[ERROR] [Engine$] No engine found. Your build might have failed. Aborting.
```
I built with the following to handle my environment:
./make-distribution.sh -Dscala.version=2.11.6 -Dspark.version=2.1.0
-Delasticsearch.version=2.3.3
results of pio status
```
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/mnt/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/i
mpl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/mnt/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLogger
Binder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Management$] Inspecting PredictionIO...
[INFO] [Management$] PredictionIO 0.11.0-incubating is installed at
/home/mnt/PredictionIO-0.11.0-incubating
[INFO] [Management$] Inspecting Apache Spark...
[INFO] [Management$] Apache Spark is installed at
/home/mnt/PredictionIO-0.11.0-incubating/vendors/spark-2.1.0-bin-hadoop2.7
[INFO] [Management$] Apache Spark 2.1.0 detected (meets minimum requirement
of 1.3.0)
[INFO] [Management$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: PGSQL)...
[INFO] [Storage$] Verifying Model Data Backend (Source: PGSQL)...
[INFO] [Storage$] Verifying Event Data Backend (Source: PGSQL)...
[INFO] [Storage$] Test writing to Event Store (App Id 0)...
[INFO] [Management$] Your system is all ready to go.
```
env
```
PIO_SCALA_VERSION=2.11.6
PIO_FS_BASEDIR=/home/tmp/.pio_store
PIO_ELASTICSEARCH_VERSION=2.3.3
PIO_HADOOP_VERSION=2.7
PIO_SPARK_VERSION=2.1.0
PIO_HOME=/home/mnt/PredictionIO-0.11.0-incubating
```
pio app list
```
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/mnt/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/mnt/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Pio$] Name | ID |
Access Key | Allowed Event(s)
[INFO] [Pio$] EC | 2 |
gDddcdL_1ehyZtA6-zwZ5XkTp6FzpobtSqbRJs5FyOCBvTjJsuzojn7HsuzlPnwN | (all)
[INFO] [Pio$] Finished listing 1 app(s).
```
engine.json:
```
{
"id": "default",
"description": "Default settings",
"engineFactory": "org.template.classification.ClassificationEngine",
"datasource": {
"params": {
"appName": "EC"
}
},
"algorithms": [
{
"name": "naive",
"params": {
"lambda": 1.0
}
}
]
}
```
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---