What steps will reproduce the problem?
1. create a temporary dataset in any data universe.
2. After 2-3 minutes it will be deleted unless you do anything with it.
What is the expected output? What do you see instead?
It should persist for 30 days without being accessed.
What version of the product are you using? On what operating system?
asterix-server-0.8.7. Ubuntu
Please provide any additional information below.
I figured out the reason for the problem and possible ways to solve it. In the
class, edu.uci.ics.asterix.metadata.MetadataCache in asterix, there is a
private final static long TEMP_DATASET_INACTIVE_TIME_THRESHOLD variable on line
35. Here by default, the thresholdis set to 30 days in miliseconds. But it
overflows, I mean the long variable. So the temporary dataset gets garbage
collected way before 30 days. Fixing this should fix the problem.
Original issue reported on code.google.com by Pritom...@gmail.com on 31 Jul 2015 at 5:18
Original issue reported on code.google.com by
Pritom...@gmail.com
on 31 Jul 2015 at 5:18