You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jeffrey Manno (Jira)" <ji...@apache.org> on 2021/01/29 16:52:00 UTC

[jira] [Comment Edited] (ACCUMULO-2909) MockAccumulo throws NPE on addMutation if table doesn't exist

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

Jeffrey Manno edited comment on ACCUMULO-2909 at 1/29/21, 4:51 PM:
-------------------------------------------------------------------

MockAccumulo has been deprecated since version 1.8 due to it not properly representoing actual Accumulo functionality. {color:#85c06c}{color:#172b4d}MiniAccumuloCluster or a standard mock framework is the proper mechanism used for testing now.{color} {color}


was (Author: jmanno):
MockAccumulo has been deprecated since version 1.8 due to it not properly representoing actual Accumulo functionality. {color:#85c06c}{color:#172b4d}MiniAccumuloCluster or a standard mock framework is the proper mechanism used for testing now. {color}{color}

> MockAccumulo throws NPE on addMutation if table doesn't exist
> -------------------------------------------------------------
>
>                 Key: ACCUMULO-2909
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2909
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.0
>            Reporter: Michael Berman
>            Priority: Major
>              Labels: mock
>
> This is related to ACCUMULO-634, but that one seems like it's just about creating the writer. If the table did exist when the writer was created, but then it's deleted, mockaccumulo will NPE on flush rather than throwing a TableNotFoundException like real accumulo.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)