Re: java.util.NoSuchElementException: head of empty list when running train

2018-06-19 Thread Pat Ferrel
Yes, those instructions tell you to run HDFS in pseudo-cluster mode. What do you see in the HDFS GUI on localhost:50070 ? Those setup instructions create a pseudo-clustered Spark, and HDFS/HBase. This runs on a single machine but as the page says, are configured so you can easily expand to a

Re: java.util.NoSuchElementException: head of empty list when running train

2018-06-19 Thread Anuj Kumar
Hi Pat, Read it on the below link http://actionml.com/docs/single_machine here is the pio-env.sh SPARK_HOME=$PIO_HOME/vendors/spark-2.1.1-bin-hadoop2.6 POSTGRES_JDBC_DRIVER=$PIO_HOME/lib/postgresql-42.0.0.jar MYSQL_JDBC_DRIVER=$PIO_HOME/lib/mysql-connector-java-5.1.41.jar

Re: java.util.NoSuchElementException: head of empty list when running train

2018-06-19 Thread Pat Ferrel
Can you show me where on the AML site it says to store models in HDFS, it should not say that? I think that may be from the PIO site so you should ignore it. Can you share your pio-env? You need to go through the whole workflow from pio build, pio train, to pio deploy using a template from the

Need support for My recommendation engine (2nd recommendation template in recommendation section of gallery)

2018-06-19 Thread kc24
Hi , I am very new to prediction ii hence I gone through the detailed steps in installing the platform and using the demo engine from Url: https://predictionio.apache.org/templates/recommendation/quickstart/ I successfully installed and used the demo data to predict few recommendations for any

Re: java.util.NoSuchElementException: head of empty list when running train

2018-06-19 Thread Anuj Kumar
Tried with basic engine.json mentioned at UL site examples. Seems to work but got stuck at "pio deploy" throwing following error [ERROR] [OneForOneStrategy] Failed to invert: [B@35c7052 before that "pio train" was successful but gave following error. I suspect because of this reason "pio