You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by as...@googlecode.com on 2015/07/31 19:18:54 UTC
Issue 914 in asterixdb: Temporary Dataset gets deleted after few
minutes of creation
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 914 by Pritom...@gmail.com: Temporary Dataset gets deleted after
few minutes of creation
https://code.google.com/p/asterixdb/issues/detail?id=914
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.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Re: Issue 914 in asterixdb: Temporary Dataset gets deleted after
few minutes of creation
Posted by Mike Carey <dt...@gmail.com>.
Either that, or we can just change the resulting error message to be
"what part of 'temporary' didn't you understand?"
:-)
On 7/31/15 10:18 AM, asterixdb@googlecode.com wrote:
> Status: New
> Owner: ----
> Labels: Type-Defect Priority-Medium
>
> New issue 914 by Pritom...@gmail.com: Temporary Dataset gets deleted
> after few minutes of creation
> https://code.google.com/p/asterixdb/issues/detail?id=914
>
> 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.
>