<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Tag: mahout - Recent Posts</title>
		<link>http://www.datastax.com/support-forums/tags/mahout</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 14:51:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/tags/mahout" rel="self" type="application/rss+xml" />

		<item>
			<title>cleophus_p on "Getting NoSuchUserException for mahout/cassandra database"</title>
			<link>http://www.datastax.com/support-forums/topic/getting-nosuchuserexception-for-mahoutcassandra-database#post-2965</link>
			<pubDate>Thu, 12 Jul 2012 07:28:08 +0000</pubDate>
			<dc:creator>cleophus_p</dc:creator>
			<guid isPermaLink="false">2965@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All,&#60;/p&#62;
&#60;p&#62;I am using mahout recommendation with cassandra database. I am getting below error.  Initially it was working well with all userids. We did couple of restart tomcat application and we started facing below error.  I really need help on this and input will help. Also do we know how to find user in mahout schema using cassandra client. like get Users where rowKey = 10446;&#60;br /&#62;
Or get Users where rowKey = &#34;00000000000028ce&#34;;&#60;/p&#62;
&#60;p&#62;Error : --&#60;br /&#62;
org.apache.mahout.cf.taste.common.NoSuchUserException: 10186&#60;br /&#62;
	at &#60;/p&#62;
&#60;p&#62;org.apache.mahout.cf.taste.impl.model.cassandra.CassandraDataModel$UserPrefArrayRetriever.get(CassandraDataModel.java:387)&#60;br /&#62;
	at &#60;/p&#62;
&#60;p&#62;org.apache.mahout.cf.taste.impl.model.cassandra.CassandraDataModel$UserPrefArrayRetriever.get(CassandraDataModel.java:375)&#60;br /&#62;
	at org.apache.mahout.cf.taste.impl.common.Cache.getAndCacheValue(Cache.java:156)&#60;br /&#62;
	at org.apache.mahout.cf.taste.impl.common.Cache.get(Cache.java:95)&#60;br /&#62;
	at &#60;/p&#62;
&#60;p&#62;org.apache.mahout.cf.taste.impl.model.cassandra.CassandraDataModel.getPreferencesFromUser(CassandraDataModel.java:157)&#60;br /&#62;
	at &#60;/p&#62;
&#60;p&#62;org.apache.mahout.cf.taste.impl.recommender.GenericItemBasedRecommender.recommend(GenericItemBasedRecommender.java:122)&#60;br /&#62;
	at com.sharpusa.edge.service.UserSpecificItemsService.getRecommendation(UserSpecificItemsService.java:85)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "Lucene/Mahout Error: class  overrides final method tokenStream."</title>
			<link>http://www.datastax.com/support-forums/topic/lucenemahout-error-class-overrides-final-method-tokenstream#post-1561</link>
			<pubDate>Tue, 10 Apr 2012 14:06:09 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">1561@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;This looks to be happening because DSE comes with Lucene/Solr 4.0&#60;/p&#62;
&#60;p&#62;We can fix this in the next point release so the Solr jars aren't in the classpath when you run hadoop.  In the meantime you can move those jars out of the way $DSE_HOME/resources/solr/lib&#60;/p&#62;
&#60;p&#62;-Jake
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Lucene/Mahout Error: class  overrides final method tokenStream."</title>
			<link>http://www.datastax.com/support-forums/topic/lucenemahout-error-class-overrides-final-method-tokenstream#post-1544</link>
			<pubDate>Fri, 06 Apr 2012 15:33:24 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1544@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hey, I've been working on getting Mahout to run on top of DataStax Enterprise, but I'm running into issues with Lucene incompatibility.&#60;/p&#62;
&#60;p&#62;For example, using the Mahout wikipedia bayes example (&#60;a href=&#34;https://cwiki.apache.org/MAHOUT/wikipedia-bayes-example.html)&#34; rel=&#34;nofollow&#34;&#62;https://cwiki.apache.org/MAHOUT/wikipedia-bayes-example.html)&#60;/a&#62;, when I execute the following command (step #6 from the example), I end up with errors as shown. (the below command has some *magic* in it, as mahout will assume that a &#60;code&#62;hadoop&#60;/code&#62; executable will exist, so I created a &#60;code&#62;hadoop&#60;/code&#62; shell script serving as an alias that basically does &#60;code&#62;dse hadoop $@&#60;/code&#62;; that's what &#60;code&#62;HADOOP_HOME&#60;/code&#62; is pointing to&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
sudo env JAVA_HOME=$JAVA_HOME HADOOP_HOME=/home/ubuntu/hadoop HADOOP_CONF_DIR=/etc/dse/hadoop ./mahout wikipediaDataSetCreator -i wikipedia/chunks -o wikipediainput -c /home/ubuntu/mahout/examples/src/test/resources/country.txt&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
    MAHOUT-JOB: /home/ubuntu/mahout/examples/target/mahout-examples-0.7-SNAPSHOT-job.jar&#60;br /&#62;
    12/04/06 14:38:03 WARN driver.MahoutDriver: No wikipediaDataSetCreator.props found on classpath, will use command-line arguments only&#60;br /&#62;
    12/04/06 14:38:04 INFO bayes.WikipediaDatasetCreatorDriver: Input: wikipedia/chunks Out: wikipediainput Categories: /home/ubuntu/mahout/examples/src/test/resources/country.txt&#60;br /&#62;
    12/04/06 14:38:04 INFO common.HadoopUtil: Deleting wikipediainput&#60;br /&#62;
    12/04/06 14:38:05 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.&#60;br /&#62;
    12/04/06 14:38:06 INFO input.FileInputFormat: Total input paths to process : 555&#60;br /&#62;
    12/04/06 14:38:07 INFO mapred.JobClient: Running job: job_201204051216_0017&#60;br /&#62;
    12/04/06 14:38:08 INFO mapred.JobClient:  map 0% reduce 0%&#60;br /&#62;
    12/04/06 14:38:26 INFO mapred.JobClient: Task Id : attempt_201204051216_0017_m_000005_0, Status : FAILED&#60;br /&#62;
    Error: class org.apache.lucene.analysis.ReusableAnalyzerBase overrides final method tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;&#60;br /&#62;
    12/04/06 14:38:28 INFO mapred.JobClient: Task Id : attempt_201204051216_0017_m_000002_0, Status : FAILED&#60;br /&#62;
    Error: class org.apache.lucene.analysis.ReusableAnalyzerBase overrides final method tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;From reading about this error, it appears that Lucene has been patched to make TokenStream final, resulting in the above issues. Mahout itself has an implementation of lucene jars that do not have this problem. I am assuming that the solution lies in getting the dse hadoop to use mahout lucene instead of the lucene it has. Any guidance on that?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Tristan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
