Closed M1eyu2018 closed 1 year ago
@alexey-milovidov @alesapin @kssenii This code is same as Java client, and we have tested in our env. which will reduce network flow when seeking offset is too long from current offset result a performance improvement. Please merge. Thanks.
@alexey-milovidov Do you want to merge this?
Thank you! We missed this PR.
After optimizing the hdfs seek method, if the target of the seek method exceeds a certain length, the blockReader's skip method will not be called again to prevent frequent calls to the readNextPacket method, thus improving the performance of the seek method.