use of org.apache.hadoop.hive.llap.io.encoded.LlapOrcCacheLoader in project hive by apache.
the class LlapCacheMetadataSerializer method loadData.
private void loadData(LlapDaemonProtocolProtos.CacheEntry ce) throws IOException {
CacheTag cacheTag = decodeCacheTag(ce.getCacheTag());
DiskRangeList ranges = decodeRanges(ce.getRangesList());
Object fileKey = decodeFileKey(ce.getFileKey());
try (LlapOrcCacheLoader llr = new LlapOrcCacheLoader(new Path(ce.getFilePath()), fileKey, conf, cache, metadataCache, cacheTag, tracePool)) {
llr.init();
llr.loadFileFooter();
llr.loadRanges(ranges);
}
}
Aggregations