mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: Deleting ratings in update file for a recommender
Date Mon, 10 Jan 2011 20:10:36 GMT
Try this -- change the line:

    String[] tokens = delimiterPattern.split(line);

to:

    String[] tokens = delimiterPattern.split(line, 5);

does that work?

On Mon, Jan 10, 2011 at 5:19 PM, Vasil Vangelovski
<vvangelovski@gmail.com> wrote:
> Stack trace and log
>
> http://paste.pocoo.org/show/318376/
>
> Also see this
>
> http://paste.pocoo.org/show/318375/
>
> 2-3 refreshes go fine up until the point where I put that last line and do a
> refresh.
>
> On Mon, Jan 10, 2011 at 5:49 PM, Sean Owen <srowen@gmail.com> wrote:
>
>> Hmm can you show me the stack trace?
>>
>> On Mon, Jan 10, 2011 at 4:46 PM, Vasil Vangelovski
>> <vvangelovski@gmail.com> wrote:
>> > Yeah, I get that. However my main file is ratings.txt and I put lines
>> like
>> > that in ratings.2011-8.txt and still get the exception.
>>
>

Mime
View raw message