alluxio icon indicating copy to clipboard operation
alluxio copied to clipboard

Optimize getFileBlockLocations performance

Open qian0817 opened this issue 2 years ago • 2 comments

What changes are proposed in this pull request?

optimize getFileBlockLocations performance.

Why are the changes needed?

reduce a useless getStatus RPC when get the file block locations.

Does this PR introduce any user facing changes?

No user facing changes.

qian0817 avatar Aug 16 '22 08:08 qian0817

Automated checks report:

  • Commits associated with Github account: PASS
  • PR title follows the conventions: FAIL
    • The title of the PR does not pass all the checks. Please fix the following issues:
      • First word must be capitalized

Some checks failed. Please fix the reported issues and reply 'alluxio-bot, check this please' to re-run checks.

alluxio-bot avatar Aug 16 '22 08:08 alluxio-bot

Automated checks report:

  • Commits associated with Github account: PASS
  • PR title follows the conventions: PASS

All checks passed!

alluxio-bot avatar Aug 16 '22 08:08 alluxio-bot

@jiacheliu3 @dbw9580 @HelloHorizon @LuQQiu Can anyone take a look?

qian0817 avatar Oct 13 '22 05:10 qian0817

Also can you do a rebase since it has been a while since you put up the PR. Thanks!

elega avatar Oct 13 '22 12:10 elega

Also can you do a rebase since it has been a while since you put up the PR. Thanks!

I don't see any conflicts with the master branch, and as far as I know there are no changes that would have an impact in the meantime. I don't understand why rebase is needed.

qian0817 avatar Oct 13 '22 12:10 qian0817

Also can you do a rebase since it has been a while since you put up the PR. Thanks!

I don't see any conflicts with the master branch, and as far as I know there are no changes that would have an impact in the meantime. I don't understand why rebase is needed.

For example, just an example, the signature of a method you newly called in your PR has changed: fun(a) -> fun(a,b). You are still using fun(a) in your PR but the signature has been changed to f(a,b). In that case, there won't be a explicit merge conflict but your code won't able to build after you merge.

Btw i did a second pass of the review. Thanks for the comments they make sense. Just left a couple of minor comments. Can you address them and do a rebase? Thanks a lot!

elega avatar Oct 13 '22 12:10 elega

Also can you do a rebase since it has been a while since you put up the PR. Thanks!

I don't see any conflicts with the master branch, and as far as I know there are no changes that would have an impact in the meantime. I don't understand why rebase is needed.

For example, just an example, the signature of a method you newly called in your PR has changed: fun(a) -> fun(a,b). You are still using fun(a) in your PR but the signature has been changed to f(a,b). In that case, there won't be a explicit merge conflict but your code won't able to build after you merge.

Btw i did a second pass of the review. Thanks for the comments they make sense. Just left a couple of minor comments. Can you address them and do a rebase? Thanks a lot!

got it.

qian0817 avatar Oct 13 '22 12:10 qian0817

@elega Please help take a look, thanks!

LuQQiu avatar Oct 14 '22 04:10 LuQQiu

alluxio-bot, merge this please

jiacheliu3 avatar Oct 14 '22 12:10 jiacheliu3