milleruntime commented on a change in pull request #1022: Fix NPE in BCFile.
Fixes #1021
URL: https://github.com/apache/accumulo/pull/1022#discussion_r264294719
##########
File path:
core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java
##########
@@ -634,6 +635,7 @@ public long getRawSize() {
// backwards compatibility
if (version.equals(API_VERSION_1)) {
LOG.trace("Found a version 1 file to read.");
+ decryptionParams = new NoFileEncrypter().getDecryptionParameters();
Review comment:
The NoFileEncrypter class is only used to get the "no crypto" decryption
params. The next line uses NoFile**D**ecrypter and stores that locally to pass
around.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services