accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris McCubbin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1851) Tables.getTableId() should not NPE if the instance is a mock
Date Mon, 04 Nov 2013 21:14:17 GMT

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

Chris McCubbin commented on ACCUMULO-1851:
------------------------------------------

Due to ACCUMULO-1833 we are caching TableIDs to determine if a table was renamed while we
are accessing it with cached BatchWriters from MultiTableBatchWriter. In testing, the Instance
is a mock so it throws this exception if we ask it for the TableID.

> Tables.getTableId() should not NPE if the instance is a mock
> ------------------------------------------------------------
>
>                 Key: ACCUMULO-1851
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1851
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Chris McCubbin
>            Priority: Minor
>
> The accumulo instance is one of the parameters. I suggest checking to see if it is a
mock and just returning the table name in that case (or something equivalent)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message