static Opener create(org.apache.hadoop.fs.FileSystem fileSystem,
                             org.apache.hadoop.fs.Path path) throws IOException {
            FileStatus status = fileSystem.getFileStatus(path);
            Preconditions.checkState(status != null, "File on %s not exists", path.toString());
            Preconditions.checkState(status.isFile(), "%s should be a file", path.toString());

            long size = status.getLen();
            int blockCount = fileSystem.getFileBlockLocations(status, 0, size).length;
            return b -> {
                return DFSByteBufferReader.open(fileSystem, path, size, blockCount, b);
            };
        }
Wrap a ByteBufferReader into an {@link Opener}.
Note that the close will <b>not</b> passed to the opener,
indexr-common/src/main/java/io/indexr/io/ByteBufferReader.java