Can you paste the exception? Also make sure there is minimum one event for the primary event.
Regards Harsh Mathur harshmathur.1...@gmail.com *“Perseverance is the hard work you do after you get tired of doing the hard work you already did."* On Fri, Dec 2, 2016 at 4:41 PM, TJ <m...@teyanlogic.se> wrote: > Hi, > > I am a complete newbie with this software and after nearly a week now of > trying to install prediction incubating and its dependencies I have finally > got to the stage where I can see the ‘pio status’ > > However, I now get an error when running ‘pio train’ > > > > [INFO] [Engine] Datasource params: (,DataSourceParams(MyTestApp,None)) > [INFO] [Engine] Extracting preparator params... > [INFO] [Engine] Preparator params: (,Empty) > [INFO] [Engine] Extracting serving params... > [INFO] [Engine] Serving params: (,Empty) > [INFO] [Remoting] Starting remoting > [INFO] [Remoting] Remoting started; listening on addresses :[ > akka.tcp://sparkDriver@82.102.5.151:33115] > [WARN] [MetricsSystem] Using default name DAGScheduler for source because > spark.app.id is not set. > [INFO] [Engine$] EngineWorkflow.train > [INFO] [Engine$] DataSource: com.iqchef.DataSource@5dfe23e8 > [INFO] [Engine$] Preparator: com.iqchef.Preparator@1989e8c6 > [INFO] [Engine$] AlgorithmList: List(com.iqchef.ALSAlgorithm@67d32a54) > [INFO] [Engine$] Data sanity check is on. > [INFO] [Engine$] com.iqchef.TrainingData does not support data sanity > check. Skipping check. > [INFO] [Engine$] com.iqchef.PreparedData does not support data sanity > check. Skipping check. > Exception in thread “main" org.apache.spark.SparkException: Job aborted > due to stage failure: Task serialization failed: java.lang.reflect. > InvocationTargetException > > > Could somebody point me in the right direction as to how to fix this > problem? > > My pio status result is as follows > > root@server1 [/MyTest]# pio status > [INFO] [Console$] Inspecting PredictionIO... > [INFO] [Console$] PredictionIO 0.10.0-incubating is installed at > /home/aml/apache-predictionio-0.10.0-incubating/ > PredictionIO-0.10.0-incubating > [INFO] [Console$] Inspecting Apache Spark... > [INFO] [Console$] Apache Spark is installed at > /home/aml/apache-predictionio-0.10.0-incubating/PredictionIO-0.10.0- > incubating/vendors/spark-1.5.1-bin-hadoop2.6 > [INFO] [Console$] Apache Spark 1.5.1 detected (meets minimum requirement > of 1.3.0) > [INFO] [Console$] 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] [Console$] (sleeping 5 seconds for all messages to show up...) > [INFO] [Console$] Your system is all ready to go. > > Many thanks in advance. > > /Mike >