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] [Commented] (ACCUMULO-2087) Tables.getNamespaces NPE's on missing table ID
Date Tue, 24 Dec 2013 03:07:50 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856095#comment-13856095
] 

Josh Elser commented on ACCUMULO-2087:
--------------------------------------

NamespaceConfiguration extending AccumuloConfiguration also causes issues due to the inheritance,
we'd either have to make AccumuloConfiguration throw a NamespaceNotFoundException or a runtime
exception (or nuke the inheritance from AccumuloConfiguration).

> Tables.getNamespaces NPE's on missing table ID
> ----------------------------------------------
>
>                 Key: ACCUMULO-2087
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2087
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 1.6.0
>
>
> If the user provides a tableID which doesn't exist to getNamespace, the implementation
will NPE if a table with that ID doesn't exist.
> It should throw a proper exception and be noted in the javadoc as such.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message