hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <static.void....@gmail.com>
Subject Reading HDFS files via Spring
Date Mon, 27 Jun 2011 00:34:34 GMT
Hello all,

We have a recommendation system that reads in similarity data via a 
Spring context.xml as follows:

<bean id="similarity" 
class="org.apache.mahout.cf.taste.impl.similarity.file.FileItemSimilarity">
<constructor-arg value="/var/data/similarity.data"/>
</bean>

Is it possible to use Hadoop/HDFS with Spring? We would love to be able 
to use something like:

<constructor-arg value="hdfs://user/mark/similarity.data">

Can this (easily) be accomplished?

Thanks for the help

Mime
View raw message