Re: MutationsRejectedException

2023-10-23 Thread Logan Jones
> Thanks, > > > > - Logan > > > > On Mon, Oct 23, 2023 at 7:45 AM dev1 wrote: > > > > > If you catch the MutationRejectedException you can get the violations. > > > Something like: > > > > &g

Re: MutationsRejectedException

2023-10-23 Thread Dave Marion
tions off for further > inspection / replay once the violation has been resolved. > > Thanks, > > - Logan > > On Mon, Oct 23, 2023 at 7:45 AM dev1 wrote: > > > If you catch the MutationRejectedException you can get the violations. > > Something like: > >

Re: MutationsRejectedException

2023-10-23 Thread Logan Jones
ething like: > > } catch (MutationsRejectedException mex) { >log.warn("Failed to update reference for table: " + tableName); >log.warn("Constraint violations: {}", > mex.getConstraintViolationSummaries()); >throw new IllegalStateException("Failed to pr

Re: MutationsRejectedException

2023-10-23 Thread dev1
If you catch the MutationRejectedException you can get the violations. Something like: } catch (MutationsRejectedException mex) { log.warn("Failed to update reference for table: " + tableName); log.warn("Constraint violations: {}", mex.getConstraintViolationSummar

Re: MutationsRejectedException

2023-10-23 Thread Josef Roehrl
From: Logan Jones Sent: Friday, October 20, 2023 6:51 PM To: dev@accumulo.apache.org Subject: MutationsRejectedException Hello everyone: When a BatchWriter receives a MutationsRejectedException, is there any way to tell exactly what mutations failed? As far as I can tell, this informatio

MutationsRejectedException

2023-10-20 Thread Logan Jones
Hello everyone: When a BatchWriter receives a MutationsRejectedException, is there any way to tell exactly what mutations failed? As far as I can tell, this information does not seem to be available on the exception. Is this true? Thanks in advance, - Logan