Description
The journal edit records are sent by the active name-node to the backup-node with RPC:
public void journal(NamenodeRegistration registration, int jAction, int length, byte[] records) throws IOException;
During the name-node throughput benchmark, the size of byte array records is around 8000. Then the serialization and deserialization is time-consuming. I wrote a simple application to test RPC with byte array parameter. When the size got to 8000, each RPC call need about 6 ms. While name-node sync 8k byte to local disk only need 0.3~0.4ms.
Attachments
Attachments
Issue Links
- is blocked by
-
HADOOP-6949 Reduces RPC packet size for primitive arrays, especially long[], which is used at block reporting
- Closed
- relates to
-
HADOOP-4539 Streaming Edits to a Backup Node.
- Closed