Skip to content

Conversation

@keith-turner
Copy link
Contributor

fixes #5971

@keith-turner keith-turner added this to the 2.1.5 milestone Nov 18, 2025
Comment on lines 542 to 546
CryptoService cs =
CryptoFactoryLoader.getServiceForClient(CryptoEnvironment.Scope.TABLE, properties);
CachableBlockFile.CachableBuilder cb =
new CachableBlockFile.CachableBuilder().fsPath(fs, path).conf(conf).cryptoService(cs);
try (var reader = new org.apache.accumulo.core.file.rfile.RFile.Reader(cb)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason not to use FileOperations.ReaderBuilder?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, I will look into that. I think I copied this code from somewhere (maybe the Rfile print info code) that was doing what I needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in a10cd12 to use FileOperations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add function to compute bulk load plan for file when splits are not known.

2 participants