New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HDFS-14585]Backport HDFS-8901 Use ByteBuffer in DFSInputStream#read to bran… #997
Conversation
@toddlipcon @jojochuang do you have any bandwidth to review this backport ? |
Copying&Updating my comments from the jira Hi Lisheng Sun We typically backport from the newer branches to older branches. asflicense warning is false alarm. There are minor checkstyle warning that can be cleaned easily. The findbugs warning looks fishy. Looking back in my mailbox, the same warning came out a few times for branch-2. So probably unrelated, but we should file a jira for that. Suggest to update the jira summary, as this is essentially a reimplementation of HDFS-8901 for replicated blocks. Hadoop 2 does not support EC, and so there's no need to support striped blocks. How about "Reimplement HDFS-8901 for replicated block positional read in branch-2"? Do we need any test? Or is this purely an performance improvement and existing tests cover it all? |
@jojochuang And the existing tests cover it all, and I do unit test. Could you suggest this issue to branch-2, branch-2.8 or HDFS-14483 direct support ByteBuffer in DFSInputStream? I think this issue to branch-2.8 is relatively reasonable and the change is relatively small. Thank you. |
If branch-2.8 will be EOL (as @jojochuang said), then I think we need to backport this patch to branch-2.9 & branch-2, and our HBase need to upgrade from 2.8.5 to 2.9.3 (maybe, or some future hadoop release). |
Signed-off-by: sunlisheng <sunlisheng@xiaomi.com>
@jojochuang @openinx I backport this patch to branch-2.9 & branch-2 Thanks. |
Close. Work is done. |
…ch-2.8
Signed-off-by: sunlisheng sunlisheng@xiaomi.com