You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/05/29 03:29:18 UTC
[jira] [Resolved] (ACCUMULO-3869) CreateImportDir might dereference
null object
[ https://issues.apache.org/jira/browse/ACCUMULO-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved ACCUMULO-3869.
----------------------------------
Resolution: Fixed
> 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: 20m
> 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)