Xiaoyu Yao created HDDS-3126:
--------------------------------
Summary: DBUpdateResponse message could be much larger than
ipc.maximum.data.length
Key: HDDS-3126
URL: https://issues.apache.org/jira/browse/HDDS-3126
Project: Hadoop Distributed Data Store
Issue Type: Bug
Components: Ozone Recon
Reporter: Xiaoyu Yao
HDDS-1391 introduce a new OM RPC to allow Recon server to get delta of OM
metadata update. However, the delta itself could be large. This causes ERROR on
OM like below.
Should we consider sending update in chunks over hadoop RPC instead of all in
one piece (1.5 GB in this case)?
4:34:56.403 PM WARN OzoneManagerProtocolServerSideTranslatorPB
##Response for request DBUpdates is too big size 1584040343
4:34:57.022 PM WARN Server
Error serializing call response for call Call#12 Retry#15
org.apache.hadoop.ozone.om.protocol.OzoneManagerProtocol.submitRequest from
10.17.112.109:58674
com.google.protobuf.CodedOutputStream$OutOfSpaceException: CodedOutputStream
was writing to a flat byte array and ran out of space.
at
com.google.protobuf.CodedOutputStream.refreshBuffer(CodedOutputStream.java:828)
at
com.google.protobuf.CodedOutputStream.writeRawBytes(CodedOutputStream.java:959)
at
com.google.protobuf.CodedOutputStream.writeRawBytes(CodedOutputStream.java:905)
at
com.google.protobuf.CodedOutputStream.writeBytesNoTag(CodedOutputStream.java:386)
at
com.google.protobuf.CodedOutputStream.writeBytes(CodedOutputStream.java:229)
at
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$DBUpdatesResponse.writeTo(OzoneManagerProtocolProtos.java)
at
com.google.protobuf.CodedOutputStream.writeMessageNoTag(CodedOutputStream.java:380)
at
com.google.protobuf.CodedOutputStream.writeMessage(CodedOutputStream.java:222)
at
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OMResponse.writeTo(OzoneManagerProtocolProtos.java:15959)
at
org.apache.hadoop.ipc.Server.setupResponseForProtobuf(Server.java:3216)
at org.apache.hadoop.ipc.Server.setupResponse(Server.java:3165)
at org.apache.hadoop.ipc.Server.setupResponse(Server.java:3141)
at org.apache.hadoop.ipc.Server.access$200(Server.java:139)
at org.apache.hadoop.ipc.Server$RpcCall.doResponse(Server.java:1061)
at org.apache.hadoop.ipc.Server$Call.doResponse(Server.java:858)
at org.apache.hadoop.ipc.Server$Call.sendResponse(Server.java:844)
at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:1001)
at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:912)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1876)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2882)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]