accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4169) TabletServer.config contextCleaner removes contexts that are not set on a table
Date Wed, 23 Mar 2016 16:49:25 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208752#comment-15208752
] 

Josh Elser commented on ACCUMULO-4169:
--------------------------------------

bq. Suggesting that we have the context cleaner not close any context defined in the configuration.

bq. Configurable time window to clean up if the context is unused w/in the window. If the
time were set to a negative number, it could be treated as "infinite" time in which case it
would only clean up the context when it is no longer defined

Do we have an API now for creating the context? I'm just wondering how a user wanting to use
a context for a scanner (not tied to a table) would (re)create a context that was cleaned
up (if it still exists in the configuration).

Considering this, Dave's suggestion seems more reasonable to me (the lifetime of a context
is defined by the presence of the configuration property). Is there a concern in taking that
approach?

> TabletServer.config contextCleaner removes contexts that are not set on a table
> -------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-4169
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4169
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.8.0
>            Reporter: Dave Marion
>
> ACCUMULO-3948 added a feature where you could define a context in the Accumulo configuration,
not set it on a table, and use it in a Scanner. However, there is a runnable created n TabletServer.config()
that runs every 60 seconds that closes context that are not defined on a table. Suggesting
that we have the context cleaner not close any context defined in the configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message