accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Marion (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3006) Don't allow viewfs in instance.volumes
Date Mon, 21 Jul 2014 15:36:40 GMT

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

Dave Marion commented on ACCUMULO-3006:
---------------------------------------

If the file reference is viewfs:/warehouse-a/accumulo/tables/a/bcd.rf, then the garbage collector
will try to delete this file. If trash is turned on, it will try to move the file to viewfs:/user/accumulo/.Trash
which may or may not be mapped in viewfs. 

viewfs is a client utility set up in core-site.xml. IMO, Accumulo should never use anything
in core-site.xml and should only allow file references to include the values from instance.volumes
or instance.dfs.uri while explicity disallowing viewfs from being used in either of these
properties.

> Don't allow viewfs in instance.volumes
> --------------------------------------
>
>                 Key: ACCUMULO-3006
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3006
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Dave Marion
>            Priority: Blocker
>             Fix For: 1.6.1
>
>
> I think one of our folks put viewfs into instance.volumes on accident. File references
in accumulo.root and accumulo.metadata were then written with viewfs in the path. The garbage
collector then throws errors as compactions occur and it tries delete and move the files to
the hdfs users trash directory.
> viewfs should never be allowed in instance.volumes property. It should fail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message