Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
Original file line number Diff line number Diff line change
Expand Up @@ -4890,7 +4890,7 @@ public static enum ConfVars {
LLAP_IO_NONVECTOR_WRAPPER_ENABLED("hive.llap.io.nonvector.wrapper.enabled", true,
"Whether the LLAP IO layer is enabled for non-vectorized queries that read inputs\n" +
"that can be vectorized"),
LLAP_IO_MEMORY_MODE("hive.llap.io.memory.mode", "cache",
LLAP_IO_MEMORY_MODE("hive.llap.io.memory.mode", "none",
new StringSet("cache", "none"),
"LLAP IO memory usage; 'cache' (the default) uses data and metadata cache with a\n" +
"custom off-heap allocator, 'none' doesn't use either (this mode may result in\n" +
Expand Down Expand Up @@ -5020,7 +5020,7 @@ public static enum ConfVars {
"notifications are received by the daemon. Sweep phase of proactive eviction will only do the cache policy " +
"cleanup in this case. This can increase cache hit ratio but might scale bad in a workload that generates " +
"many proactive eviction events."),
LLAP_IO_CACHE_DELETEDELTAS("hive.llap.io.cache.deletedeltas", "all", new StringSet("none", "metadata", "all"),
LLAP_IO_CACHE_DELETEDELTAS("hive.llap.io.cache.deletedeltas", "none", new StringSet("none", "metadata", "all"),
"When set to 'all' queries that use LLAP IO for execution will also access delete delta files via " +
"LLAP IO layer and thus they will be fully cached. When set to 'metadata', only the tail of delete deltas " +
"will be cached. If set to 'none', only the base files and insert deltas will be channeled through LLAP, " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ private void performDataRead() throws IOException {
// TODO: I/O threadpool could be here - one thread per stripe; for now, linear.
boolean hasFileId = this.fileKey != null;
OrcBatchKey stripeKey = hasFileId ? new OrcBatchKey(fileKey, -1, 0) : null;
pathCache.touch(fileKey, split.getPath().toUri().toString());
if (pathCache != null) {
pathCache.touch(fileKey, split.getPath().toUri().toString());
}
for (int stripeIxMod = 0; stripeIxMod < stripeRgs.length; ++stripeIxMod) {
if (processStop()) {
return;
Expand Down
Loading