Github user ivakegg commented on a diff in the pull request:
https://github.com/apache/accumulo/pull/283#discussion_r129639159
--- Diff:
core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BoundedRangeFileInputStream.java
---
@@ -95,18 +92,7 @@ public int read(final byte[] b, final int off, int len)
throws IOException {
throw new IOException("Stream closed");
}
in.seek(pos);
- try {
- ret = AccessController.doPrivileged(new
PrivilegedExceptionAction<Integer>() {
--- End diff --
I went back to the FSDataInputStream class all the way through 2006 and I
cannot a version of the read(byte[], int, int) method which would require
privledged access. This one is a mystery to me.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---