HBASE-6506 Setting CACHE_BLOCKS to false in an hbase shell scan doesn't work

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1595937 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2014-05-19 15:50:35 +00:00
parent b21e717654
commit 6c7af961fa
1 changed files with 2 additions and 1 deletions

View File

@ -376,7 +376,8 @@ EOF
stoprow = args["STOPROW"]
timestamp = args["TIMESTAMP"]
columns = args["COLUMNS"] || args["COLUMN"] || []
cache_blocks = args["CACHE_BLOCKS"] || true
# If CACHE_BLOCKS not set, then default 'true'.
cache_blocks = args["CACHE_BLOCKS"].nil? ? true: args["CACHE_BLOCKS"]
cache = args["CACHE"] || 0
reversed = args["REVERSED"] || false
versions = args["VERSIONS"] || 1