hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilfred Spiegelenburg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-21) NegativeArraySizeException in reducer with new api
Date Sun, 26 Jun 2016 03:49:02 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349935#comment-15349935
] 

Wilfred Spiegelenburg commented on MAPREDUCE-21:
------------------------------------------------

This is fixed in trunk as HADOOP-11901 and should be closed as a dupe of that one.
I am no longer on the contributor list for the MAPREDUCE project so I can't do it.

> NegativeArraySizeException in reducer with new api
> --------------------------------------------------
>
>                 Key: MAPREDUCE-21
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-21
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>            Reporter: Amareshwari Sriramadasu
>
> I observed one of the reducers failing with NegativeArraySizeException with new api.
> The exception trace:
> java.lang.NegativeArraySizeException
> 	at org.apache.hadoop.io.BytesWritable.setCapacity(BytesWritable.java:119)
> 	at org.apache.hadoop.io.BytesWritable.setSize(BytesWritable.java:98)
> 	at org.apache.hadoop.io.BytesWritable.readFields(BytesWritable.java:153)
> 	at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:67)
> 	at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:40)
> 	at org.apache.hadoop.mapreduce.ReduceContext.nextKeyValue(ReduceContext.java:142)
> 	at org.apache.hadoop.mapreduce.ReduceContext.nextKey(ReduceContext.java:121)
> 	at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:189)
> 	at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:542)
> 	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:409)
> 	at org.apache.hadoop.mapred.Child.main(Child.java:159)
> The corresponding line in ReduceContext is 
> {code}
> line#142    key = keyDeserializer.deserialize(key);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message