Michael Ho has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14015


Change subject: IMPALA-8691: Query option to disable data cache
......................................................................

IMPALA-8691: Query option to disable data cache

This change adds a query option to disable the data cache for a given session.
By default, this option is set to false. When it's set to true, all queries
will by-pass the data cache. This allows users to avoid polluting the cache
for accesses to tables which they don't want to cache. A follow-up change
will add a per-table query hint to allow caching disabled for a given table
only.

There is some small refactoring in the code to make it clearer the type
of caching being referred to in the code. As the code stands now, we have
both HDFS caching (for local reads) and the data cache (for remote reads).
BufferOpts has been extended to allow users to explicitly state intention
for using either of the caches.

Change-Id: I39122ac38435cedf94b2b39145863764d0b5b6c8
---
M be/src/exec/base-sequence-scanner.cc
M be/src/exec/hdfs-orc-scanner.cc
M be/src/exec/hdfs-scan-node-base.cc
M be/src/exec/hdfs-scan-node-base.h
M be/src/exec/hdfs-scanner.cc
M be/src/exec/hdfs-text-scanner.cc
M be/src/exec/parquet/hdfs-parquet-scanner.cc
M be/src/exec/parquet/parquet-column-readers.cc
M be/src/exec/parquet/parquet-page-index.cc
M be/src/exec/scan-node.cc
M be/src/exec/scan-node.h
M be/src/exec/scanner-context.cc
M be/src/runtime/io/disk-io-mgr-stress.cc
M be/src/runtime/io/disk-io-mgr-test.cc
M be/src/runtime/io/hdfs-file-reader.cc
M be/src/runtime/io/request-context.cc
M be/src/runtime/io/request-ranges.h
M be/src/runtime/io/scan-range.cc
M be/src/runtime/tmp-file-mgr.cc
M be/src/scheduling/scheduler-test-util.cc
M be/src/scheduling/scheduler.cc
M be/src/service/query-options.cc
M be/src/service/query-options.h
M common/thrift/ImpalaInternalService.thrift
M common/thrift/ImpalaService.thrift
M tests/custom_cluster/test_data_cache.py
26 files changed, 157 insertions(+), 78 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/15/14015/1
--
To view, visit http://gerrit.cloudera.org:8080/14015
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I39122ac38435cedf94b2b39145863764d0b5b6c8
Gerrit-Change-Number: 14015
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Ho <k...@cloudera.com>

Reply via email to