You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by washingon <gi...@git.apache.org> on 2017/04/30 16:17:43 UTC

[GitHub] incubator-predictionio issue #375: [ERROR] [Engine$] No engine found. Your b...

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #375: [ERROR] [Engine$] No engine found. Your b...

Posted by kahirul <gi...@git.apache.org>.
Github user kahirul commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/375
  
    Hi @washingon!
    Based on some responses at PIO incubator mailing list, I managed to solve mine.
    
    Here is what I did. I was adding `scalaVersion := "2.1.0"` and adjust PIO version to `0.11.0-incubating` on failing engine [build.sbt](https://github.com/kahirul/docker-predictionio/commit/d9b28b5aaa4229d38631e9014758640d0380e59d?diff=unified#diff-a2d5a333149e0503d95ee9e8a83c0be6) file. And I can build the engine successfully.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #375: [ERROR] [Engine$] No engine found. Your b...

Posted by dszeto <gi...@git.apache.org>.
Github user dszeto commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/375
  
    Hi, please redirect usage questions to user@predictionio.incubator.apache.org, and development question to dev@predictionio.incubator.apache.org for more exposure to the rest of the community. Subscription instructions can be found at http://predictionio.incubator.apache.org/support/.
    
    Did you also modify your engine template's Scala version to 2.11.6?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #375: [ERROR] [Engine$] No engine found. Your b...

Posted by kahirul <gi...@git.apache.org>.
Github user kahirul commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/375
  
    Hi, I'm also experiencing the same issue. I'm trying to build this template https://github.com/apache/incubator-predictionio-template-recommender/tree/v0.4.0
    
    I did modify the engine. Removing `rate` event from `DataSource.scala`
    
    Here are output of `pio status`
    
    ```
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/root/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:/root/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] [Management$] Inspecting PredictionIO...
    [INFO] [Management$] PredictionIO 0.11.0-incubating is installed at /root/PredictionIO-0.11.0-incubating/
    [INFO] [Management$] Inspecting Apache Spark...
    [INFO] [Management$] Apache Spark is installed at /root/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.
    ```



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---