accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-3577) VolumeManager FileType needs unit tests
Date Wed, 11 Feb 2015 00:54:11 GMT
Christopher Tubbs created ACCUMULO-3577:

             Summary: VolumeManager FileType needs unit tests
                 Key: ACCUMULO-3577
             Project: Accumulo
          Issue Type: Bug
            Reporter: Christopher Tubbs

The FileType enum in VolumeManager has some behavior which should be unit tested.

In particular, it should check that the retrieval (or removal) of volumes from a path works

At first glance, it looks to me like it is broken, because it is looking for the first occurrence
of a directory which starts with {{/tables}}, in the case of tables. However, that will break
if the volume itself had a path with {{/tables}} in it (example: {{hdfs://nn1/tablesorting-application/accumulo}},
which would have the directory {{hdfs://nn1/tablesorting-application/accumulo/tables/...}})

This message was sent by Atlassian JIRA

View raw message