accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2532) FileUtil expects instance.dfs.dir in tmpDir path
Date Tue, 25 Mar 2014 22:23:19 GMT


Keith Turner commented on ACCUMULO-2532:

the intent of the reserve file was to esnure only one thread uses the tmp dir.   In hadoop
1 I think if two threads try to create the same dir at around the same time they will both
report success.   With a file only one would report success.  

> FileUtil expects instance.dfs.dir in tmpDir path
> ------------------------------------------------
>                 Key: ACCUMULO-2532
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: master, tserver
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 1.6.0
> FileUtil#cleanupIndexOp(AccumuloConfiguration, Path, VolumeManager, ArrayList) checks
that the temporary directory Path it was given ends with the value of instance.dfs.dir and
> instance.dfs.dir is no longer appended to each volume, so this check is likely wrong
and result in tmp directories not being cleaned up properly.
> This also necessitates a unit test to prevent from happening again.

This message was sent by Atlassian JIRA

View raw message