commit | faaf9b60a72d2becccdef77223600829d51ea39c | [log] [tgz] |
---|---|---|
author | Yingyi Bu <buyingyi@gmail.com> | Fri Jul 31 11:30:00 2015 -0700 |
committer | Yingyi Bu <buyingyi@gmail.com> | Fri Jul 31 13:08:33 2015 -0700 |
tree | c206d0e65b463801c5c1915ec1d30446e22a1cd5 | |
parent | 28badf28ca2ccad04422acc75e56e0f9d871edd5 [diff] |
Fix the temporary dataset life time threshold. Change-Id: I076c085d4decfa23ab7413e85fe60458dd96d058 Reviewed-on: https://asterix-gerrit.ics.uci.edu/339 Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Ian Maxon <imaxon@apache.org>
diff --git a/asterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/MetadataCache.java b/asterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/MetadataCache.java index ad6a6c7..8443086 100644 --- a/asterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/MetadataCache.java +++ b/asterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/MetadataCache.java
@@ -47,7 +47,7 @@ public class MetadataCache { // Default life time period of a temp dataset. It is 30 days. - private final static long TEMP_DATASET_INACTIVE_TIME_THRESHOLD = 3600 * 24 * 30 * 1000; + private final static long TEMP_DATASET_INACTIVE_TIME_THRESHOLD = 3600 * 24 * 30 * 1000L; // Key is dataverse name. protected final Map<String, Dataverse> dataverses = new HashMap<String, Dataverse>(); // Key is dataverse name. Key of value map is dataset name.