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

Anubhav Dhoot commented on YARN-3082:
-------------------------------------

We have seen examples with running on a secure cluster, 
{noformat}
2014-12-09 11:22:57,540 ERROR 
org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl: Caught 
exception in status-updater
org.apache.hadoop.ipc.RemoteException(java.nio.BufferUnderflowException): 
java.nio.BufferUnderflowException
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:145)
        at java.nio.ByteBuffer.get(ByteBuffer.java:694)
        at com.google.protobuf.ByteString.copyFrom(ByteString.java:217)
        at com.google.protobuf.ByteString.copyFrom(ByteString.java:229)
        at 
org.apache.hadoop.yarn.api.records.impl.pb.ProtoUtils.convertToProtoFormat(ProtoUtils.java:195)
        at 
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl.addSystemCredentialsToProto(NodeHeartbeatResponsePBImpl.java:105)
        at 
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl.mergeLocalToBuilder(NodeHeartbeatResponsePBImpl.java:97)
        at 
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl.mergeLocalToProto(NodeHeartbeatResponsePBImpl.java:114)
        at 
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl.getProto(NodeHeartbeatResponsePBImpl.java:72)
        at 
org.apache.hadoop.yarn.server.api.impl.pb.service.ResourceTrackerPBServiceImpl.nodeHeartbeat(ResourceTrackerPBServiceImpl.java:69)
{noformat}

> Non thread safe access to systemCredentials in NodeHeartbeatResponse 
> processing
> -------------------------------------------------------------------------------
>
>                 Key: YARN-3082
>                 URL: https://issues.apache.org/jira/browse/YARN-3082
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>
> When you use system credentials via feature added in YARN-2704, the proto 
> conversion code throws exception in converting ByteBuffer



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

Reply via email to