{"action":"created","issue":{"url":"https://api.github.com/repos/OryxProject/oryx/issues/186","labels_url":"https://api.github.com/repos/OryxProject/oryx/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/OryxProject/oryx/issues/186/comments","events_url":"https://api.github.com/repos/OryxProject/oryx/issues/186/events","html_url":"https://github.com/OryxProject/oryx/issues/186","id":60461195,"number":186,"title":"ClassCastException jblas DoubleMatrix","user":{"login":"anhth12","id":10240367,"avatar_url":"https://avatars.githubusercontent.com/u/10240367?v=3","gravatar_id":"","url":"https://api.github.com/users/anhth12","html_url":"https://github.com/anhth12","followers_url":"https://api.github.com/users/anhth12/followers","following_url":"https://api.github.com/users/anhth12/following{/other_user}","gists_url":"https://api.github.com/users/anhth12/gists{/gist_id}","starred_url":"https://api.github.com/users/anhth12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhth12/subscriptions","organizations_url":"https://api.github.com/users/anhth12/orgs","repos_url":"https://api.github.com/users/anhth12/repos","events_url":"https://api.github.com/users/anhth12/events{/privacy}","received_events_url":"https://api.github.com/users/anhth12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T07:33:26Z","updated_at":"2015-03-11T04:23:03Z","closed_at":null,"body":"Hi,\r\n\r\nI am new to Spark. And I think this problem is belong to Spark. But did you encounter any problem like this:\r\njava.lang.ClassCastException: org.jblas.DoubleMatrix cannot be cast to org.jblas.DoubleMatrix\r\n        org.apache.spark.mllib.recommendation.ALS$$anonfun$8.apply(ALS.scala:337)\r\n        scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)\r\n        scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)\r\n        scala.collection.Iterator$class.foreach(Iterator.scala:727)\r\n        scala.collection.AbstractIterator.foreach(Iterator.scala:1157)\r\n        scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:144)\r\n        scala.collection.AbstractIterator.foldLeft(Iterator.scala:1157)\r\n        scala.collection.TraversableOnce$class.aggregate(TraversableOnce.scala:201)\r\n        scala.collection.AbstractIterator.aggregate(Iterator.scala:1157)\r\n        org.apache.spark.rdd.RDD$$anonfun$22.apply(RDD.scala:895)\r\n        org.apache.spark.rdd.RDD$$anonfun$22.apply(RDD.scala:895)\r\n        org.apache.spark.SparkContext$$anonfun$26.apply(SparkContext.scala:1157)\r\n        org.apache.spark.SparkContext$$anonfun$26.apply(SparkContext.scala:1157)\r\n        org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:62)\r\n        org.apache.spark.scheduler.Task.run(Task.scala:54)\r\n        org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:177)\r\n        java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n        java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n        java.lang.Thread.run(Unknown Source)\r\n\r\nDo you have any solution?"},"comment":{"url":"https://api.github.com/repos/OryxProject/oryx/issues/comments/78203049","html_url":"https://github.com/OryxProject/oryx/issues/186#issuecomment-78203049","issue_url":"https://api.github.com/repos/OryxProject/oryx/issues/186","id":78203049,"user":{"login":"anhth12","id":10240367,"avatar_url":"https://avatars.githubusercontent.com/u/10240367?v=3","gravatar_id":"","url":"https://api.github.com/users/anhth12","html_url":"https://github.com/anhth12","followers_url":"https://api.github.com/users/anhth12/followers","following_url":"https://api.github.com/users/anhth12/following{/other_user}","gists_url":"https://api.github.com/users/anhth12/gists{/gist_id}","starred_url":"https://api.github.com/users/anhth12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhth12/subscriptions","organizations_url":"https://api.github.com/users/anhth12/orgs","repos_url":"https://api.github.com/users/anhth12/repos","events_url":"https://api.github.com/users/anhth12/events{/privacy}","received_events_url":"https://api.github.com/users/anhth12/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T04:23:03Z","updated_at":"2015-03-11T04:23:03Z","body":"I found that I ran Oryx in Spark 1.1. I moved to Spark 1.2. This error does not happen again.\r\n"}}