[ 
https://issues.apache.org/jira/browse/NUTCH-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney updated NUTCH-1505:
----------------------------------------

    Fix Version/s: 2.2
    
> java.lang.IllegalArgumentException during updatedb
> --------------------------------------------------
>
>                 Key: NUTCH-1505
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1505
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: cassandra 0.8.10
>            Reporter: Stanley Orlenko
>             Fix For: 2.2
>
>
> the command 
> bin/nutch updatedb
> raises the exception. Here is a part of hadoop.log:
> 2012-12-21 11:27:58,557 WARN  mapred.LocalJobRunner - job_local_0001
> java.lang.IllegalArgumentException: offset (0) + length (4) exceed the 
> capacity of the array: 2
>         at 
> org.apache.nutch.util.Bytes.explainWrongLengthOrOffset(Bytes.java:559)
>         at org.apache.nutch.util.Bytes.toInt(Bytes.java:740)
>         at org.apache.nutch.util.Bytes.toFloat(Bytes.java:611)
>         at org.apache.nutch.util.Bytes.toFloat(Bytes.java:598)
>         at 
> org.apache.nutch.scoring.opic.OPICScoringFilter.distributeScoreToOutlinks(OPICScoringFilter.java:128)
>         at 
> org.apache.nutch.scoring.ScoringFilters.distributeScoreToOutlinks(ScoringFilters.java:117)
>         at org.apache.nutch.crawl.DbUpdateMapper.map(DbUpdateMapper.java:70)
>         at org.apache.nutch.crawl.DbUpdateMapper.map(DbUpdateMapper.java:37)
>         at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
>         at 
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to