{"action":"created","issue":{"url":"https://api.github.com/repos/pferrel/solr-recommender/issues/7","labels_url":"https://api.github.com/repos/pferrel/solr-recommender/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/pferrel/solr-recommender/issues/7/comments","events_url":"https://api.github.com/repos/pferrel/solr-recommender/issues/7/events","html_url":"https://github.com/pferrel/solr-recommender/issues/7","id":55218938,"number":7,"title":"java.lang.ClassNotFoundException: org.apache.lucene.util.PriorityQueue","user":{"login":"zhangyongjiang","id":1043451,"avatar_url":"https://avatars.githubusercontent.com/u/1043451?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangyongjiang","html_url":"https://github.com/zhangyongjiang","followers_url":"https://api.github.com/users/zhangyongjiang/followers","following_url":"https://api.github.com/users/zhangyongjiang/following{/other_user}","gists_url":"https://api.github.com/users/zhangyongjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangyongjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangyongjiang/subscriptions","organizations_url":"https://api.github.com/users/zhangyongjiang/orgs","repos_url":"https://api.github.com/users/zhangyongjiang/repos","events_url":"https://api.github.com/users/zhangyongjiang/events{/privacy}","received_events_url":"https://api.github.com/users/zhangyongjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-22T22:33:45Z","updated_at":"2015-01-22T23:16:33Z","closed_at":"2015-01-22T22:52:28Z","body":"Hi,\r\n\r\nFirst of all thank you for writting this solr-recommender.\r\n\r\nI'm trying to run the script but got class not found error as below. Could you please let me know how I can fix it?\r\n\r\nThanks a lot,\r\nKevin\r\n\r\n................\r\n15/01/22 14:30:35 INFO mapred.MapTask: Processing split: file:/Users/Zhang_Kevin/Documents/mine/big/projects/solr-recommender/tmp/tmp1/pairwiseSimilarity/part-r-00000:0+210\r\n15/01/22 14:30:35 INFO mapred.MapTask: io.sort.mb = 100\r\n15/01/22 14:30:35 INFO mapred.MapTask: data buffer = 79691776/99614720\r\n15/01/22 14:30:35 INFO mapred.MapTask: record buffer = 262144/327680\r\n15/01/22 14:30:35 INFO mapred.MapTask: Starting flush of map output\r\n15/01/22 14:30:35 INFO mapred.LocalJobRunner: Map task executor complete.\r\n15/01/22 14:30:35 WARN mapred.LocalJobRunner: job_local334070693_0007\r\njava.lang.Exception: java.lang.NoClassDefFoundError: org/apache/lucene/util/PriorityQueue\r\n\tat org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:354)\r\nCaused by: java.lang.NoClassDefFoundError: org/apache/lucene/util/PriorityQueue\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:800)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:449)\r\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:71)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\tat org.apache.mahout.math.hadoop.similarity.cooccurrence.RowSimilarityJob$UnsymmetrifyMapper.map(RowSimilarityJob.java:520)\r\n\tat org.apache.mahout.math.hadoop.similarity.cooccurrence.RowSimilarityJob$UnsymmetrifyMapper.map(RowSimilarityJob.java:504)\r\n\tat org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)\r\n\tat org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)\r\n\tat org.apache.hadoop.mapred.MapTask.run(MapTask.java:364)\r\n\tat org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:223)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassNotFoundException: org.apache.lucene.util.PriorityQueue\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:366)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\t... 22 more\r\n15/01/22 14:30:36 INFO mapred.JobClient:  map 0% reduce 0%\r\n15/01/22 14:30:36 INFO mapred.JobClient: Job complete: job_local334070693_0007\r\n15/01/22 14:30:36 INFO mapred.JobClient: Counters: 0\r\n15/01/22 14:30:36 INFO mapred.JobClient: Cleaning up the staging area file:/tmp/hadoop-Zhang_Kevin/mapred/staging/Zhang_Kevin1346036484/.staging/job_local1346036484_0008\r\nException in thread \"main\" java.lang.NoClassDefFoundError: org/apache/lucene/util/PriorityQueue\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:270)\r\n\tat org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:810)\r\n\tat org.apache.hadoop.mapreduce.lib.input.MultipleInputs.getMapperTypeMap(MultipleInputs.java:141)\r\n\tat org.apache.hadoop.mapreduce.lib.input.DelegatingInputFormat.getSplits(DelegatingInputFormat.java:60)\r\n\tat org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1054)\r\n\tat org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1071)\r\n\tat org.apache.hadoop.mapred.JobClient.access$700(JobClient.java:179)\r\n\tat org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:983)\r\n\tat org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:936)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAs(Subject.java:415)\r\n\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)\r\n\tat org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:936)\r\n\tat org.apache.hadoop.mapreduce.Job.submit(Job.java:550)\r\n\tat org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:580)\r\n\tat org.apache.mahout.cf.taste.hadoop.item.RecommenderJob.run(RecommenderJob.java:249)\r\n\tat org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)\r\n\tat finderbots.recommenders.hadoop.RecommenderUpdateJob.run(RecommenderUpdateJob.java:129)\r\n\tat org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)\r\n\tat finderbots.recommenders.hadoop.RecommenderUpdateJob.main(RecommenderUpdateJob.java:275)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.apache.hadoop.util.RunJar.main(RunJar.java:160)\r\nCaused by: java.lang.ClassNotFoundException: org.apache.lucene.util.PriorityQueue\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:366)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\t... 26 more\r\n"},"comment":{"url":"https://api.github.com/repos/pferrel/solr-recommender/issues/comments/71119312","html_url":"https://github.com/pferrel/solr-recommender/issues/7#issuecomment-71119312","issue_url":"https://api.github.com/repos/pferrel/solr-recommender/issues/7","id":71119312,"user":{"login":"zhangyongjiang","id":1043451,"avatar_url":"https://avatars.githubusercontent.com/u/1043451?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangyongjiang","html_url":"https://github.com/zhangyongjiang","followers_url":"https://api.github.com/users/zhangyongjiang/followers","following_url":"https://api.github.com/users/zhangyongjiang/following{/other_user}","gists_url":"https://api.github.com/users/zhangyongjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangyongjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangyongjiang/subscriptions","organizations_url":"https://api.github.com/users/zhangyongjiang/orgs","repos_url":"https://api.github.com/users/zhangyongjiang/repos","events_url":"https://api.github.com/users/zhangyongjiang/events{/privacy}","received_events_url":"https://api.github.com/users/zhangyongjiang/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T23:16:33Z","updated_at":"2015-01-22T23:16:33Z","body":"Thanks for your quick response. I will check Mahout 1.0 you mentioned. \r\n\r\nI now have all the data generated under the out directory. Which files I should load into Solr?\r\n"}}