[ https://issues.apache.org/jira/browse/TEZ-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498728#comment-14498728 ]
Siddharth Seth commented on TEZ-2314: ------------------------------------- Noticed a similar issue a couple of days ago, but didn't debug further. The error wasn't the same - but was a problem with serializing the TaskSpec. This is what the example was doing while setting the payload, which caused the problem. {code} ByteBuffer bb = ByteBuffer.allocate(8); bb.putLong(1000); {code} Changing this to {code} ByteBuffer bb = ByteBuffer.allocate(8); bb.putLong(0, 1000); {code} fixes it. May be something to do with the way we're handling the ByteBuffer serialization. > Tez task attempt failures due to bad event serialization > -------------------------------------------------------- > > Key: TEZ-2314 > URL: https://issues.apache.org/jira/browse/TEZ-2314 > Project: Apache Tez > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Rohini Palaniswamy > Attachments: TEZ-2314.log.patch > > > {code} > 2015-04-13 19:21:48,516 WARN [Socket Reader #3 for port 53530] ipc.Server: > Unable to read call parameters for client 10.216.13.112on connection protocol > org.apache.tez.common.TezTaskUmbilicalProtocol for rpcKind RPC_WRITABLE > java.lang.ArrayIndexOutOfBoundsException: 1935896432 > at > org.apache.tez.runtime.api.impl.EventMetaData.readFields(EventMetaData.java:120) > at > org.apache.tez.runtime.api.impl.TezEvent.readFields(TezEvent.java:271) > at > org.apache.tez.runtime.api.impl.TezHeartbeatRequest.readFields(TezHeartbeatRequest.java:110) > at > org.apache.hadoop.io.ObjectWritable.readObject(ObjectWritable.java:285) > at > org.apache.hadoop.ipc.WritableRpcEngine$Invocation.readFields(WritableRpcEngine.java:160) > at > org.apache.hadoop.ipc.Server$Connection.processRpcRequest(Server.java:1884) > at > org.apache.hadoop.ipc.Server$Connection.processOneRpc(Server.java:1816) > at > org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1574) > at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:806) > at > org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:673) > at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:644) > {code} > cc/ [~hitesh] and [~bikassaha] -- This message was sent by Atlassian JIRA (v6.3.4#6332)