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] [Created] (ACCUMULO-3869) CreateImportDir might dereference null object
Date Fri, 29 May 2015 00:15:17 GMT
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)

Mime
View raw message