Skip to content
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

Cache rfile file lengths #467

Closed
keith-turner opened this Issue May 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@keith-turner
Copy link
Contributor

keith-turner commented May 5, 2018

Rfiles store metadata at the end of the file. To open a RFile, the file length must first be obtained. If the file lengths were cached, this could possibly avoid a trip to the namenode. This caching could be done in tservers and in the new bulk import code (#436).

@keith-turner keith-turner added the v1.9.1 label May 17, 2018

keith-turner added a commit that referenced this issue May 22, 2018

Use full path as key in file len cache #467
I had used just the file name as the file len cache key, however I realized
file names created by older versions of Accumulo may not be unique.  However,
the path should be unique for older versions because the tablet dir+file name
was unique.

keith-turner added a commit to apache/accumulo-website that referenced this issue Jul 25, 2018

keith-turner added a commit to apache/accumulo-website that referenced this issue Jul 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.