accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z11373 <>
Subject Re: exception from thrift
Date Tue, 14 Feb 2017 22:22:45 GMT
Thanks Marc for quick response.
The code throws exception when its calling flush(), and I was told since we
are using older version of Thrift C++ files, complete exception info may not
be returned. Here is snippet of my code to catch it:

        try {
        catch (const accumulo::AccumuloSecurityException& ase) {
            std::cerr << stage << " Hit accumulo security exception: " <<
ase.msg << std::endl;

and "org.apache.accumulo.core.client.MutationsRejectedException: #
constraint violations : 0  security codes: {}  # server errors 0 #
exceptions 1" is the only exception message I got.

I can write code to retry when hitting that exception, do I just retry
calling flush(), or I need to re-create the batch writer object (and add
mutation again)?


View this message in context:
Sent from the Developers mailing list archive at

View raw message