accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4087) Reuse tablet's currently chosen volume for temp files
Date Mon, 21 Dec 2015 22:19:46 GMT

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

Christopher Tubbs commented on ACCUMULO-4087:
---------------------------------------------

Using the "sticky" (previously chosen volume for that tablet) could work. I'm not a big fan
of the sticky volume behavior.

Another option, instead of using the previously chosen one, is to pull the table id from the
{{KeyExtent}}, and re-choose with the appropriate chooser for that table (assuming the per-table
chooser is configured as the general chooser). That might save some work examining the tablet's
metadata, but at the risk of choosing another location (which is probably fine anyway). Of
course, that only works if the {{FileUtils}} code is only being used for tablet- or table-scoped
temp files, and not also used for general-purpose temp files (do we even have any such files?
intermediate write-ahead logs? if we do, do they use this code?).

> Reuse tablet's currently chosen volume for temp files
> -----------------------------------------------------
>
>                 Key: ACCUMULO-4087
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4087
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Christopher Tubbs
>             Fix For: 1.8.0
>
>
> From parent issue:
> {quote}
> 4. The volume chooser is called in {{FileUtils}} for temp directory creation but it could
instead use the sticky dir to create the temp directory, not needing the volume chooser at
all.
> {quote}



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

Mime
View raw message