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

Reply via email to