Description
private int pread(long position, byte[] buffer, int offset, int length) throws IOException { // sanity checks dfsClient.checkOpen(); if (closed) {
Checking of closed should be protected by holding lock on "DFSInputStream.this"
Attachments
Attachments
Issue Links
- is related to
-
HDFS-6735 A minor optimization to avoid pread() be blocked by read() inside the same DFSInputStream
- Closed