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 02:15:17 UTC

[jira] [Created] (ACCUMULO-3869) CreateImportDir might dereference null object

Josh Elser created ACCUMULO-3869:
------------------------------------

             Summary: CreateImportDir might dereference null object
                 Key: ACCUMULO-3869
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3869
             Project: Accumulo
          Issue Type: Bug
          Components: ter, master
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Trivial
             Fix For: 1.7.1, 1.8.0


{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)