PHOENIX-4640 Don't consider STATS_UPDATE_FREQ_MS_ATTRIB in TTL for server side 
cache (addendum)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b0d793d6
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b0d793d6
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b0d793d6

Branch: refs/heads/4.x-HBase-1.3
Commit: b0d793d646ad93396a6b22002b31fdd48e7382a6
Parents: 6419d8c
Author: James Taylor <jtay...@salesforce.com>
Authored: Fri Mar 9 22:01:51 2018 -0800
Committer: James Taylor <jtay...@salesforce.com>
Committed: Sun Mar 11 09:56:35 2018 -0700

----------------------------------------------------------------------
 .../it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b0d793d6/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
index 3413d57..7028db3 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
@@ -42,6 +42,7 @@ public abstract class ParallelStatsEnabledIT extends BaseTest 
{
         Map<String, String> props = Maps.newHashMapWithExpectedSize(1);
         props.put(QueryServices.STATS_GUIDEPOST_WIDTH_BYTES_ATTRIB, 
Long.toString(20));
         props.put(QueryServices.STATS_UPDATE_FREQ_MS_ATTRIB, Long.toString(5));
+        
props.put(QueryServices.MAX_SERVER_METADATA_CACHE_TIME_TO_LIVE_MS_ATTRIB, 
Long.toString(5));
         props.put(QueryServices.USE_STATS_FOR_PARALLELIZATION, 
Boolean.toString(true));
         setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
     }

Reply via email to