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] [Updated] (ACCUMULO-3869) CreateImportDir might dereference null object
Date Fri, 29 May 2015 01:29:18 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser updated ACCUMULO-3869:
---------------------------------
    Component/s:     (was: ter)

> CreateImportDir might dereference null object
> ---------------------------------------------
>
>                 Key: ACCUMULO-3869
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3869
>             Project: Accumulo
>          Issue Type: Bug
>          Components: master
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Trivial
>              Labels: coverity
>             Fix For: 1.7.1, 1.8.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
>     Path base = master.getFileSystem().matchingFileSystem(exportDir, tableDirs);
>     log.info("Chose base table directory of " + base);
>     Path directory = new Path(base, tableInfo.tableId);
> {code}
> {{base}} might be null if the matching filesystem wasn't found (albeit unlikely).



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

Mime
View raw message