hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Exception java.lang.ArithmeticException
Date Tue, 23 Jan 2007 19:16:56 GMT
Armel T. Nene wrote:
> I am running the system locally through Nutch. Nutch also run on top of
> hadoop. All I am trying to access the file through the following method:
> 
> MapFileOutputFormat.getEntry(readers, new HashPartitioner(), key, val);
> 
> Nutch runs successfully and loads the Hadoop configuration files and
> anything needed. Can you let me know how to set reduce to a different value
> than 0.

This isn't actually under reduce.  The problem is that the 'readers' 
array above is empty.  This is returned by 
MapFileOutputFormat#getReaders() when passed an inappropriate path.

Doug

Mime
View raw message