accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2134) SimpleProxyIT fails on TableNotFoundException
Date Wed, 15 Jan 2014 01:51:21 GMT


Christopher Tubbs commented on ACCUMULO-2134:

The exception happens because the removeConstraint() method uses setProperty(), and somebody
forgot to add TNFE to the setProperty() method. So, these methods never threw TNFE. So, as
a hack, we've had to wrap the exception in Accumulo's client code. I don't know that there's
any intent for the consumer of the API to unwrap the exception. Some people indicated they'd
like to do that... but I don't know that we should be making guarantees in the API about a
hierarchy of exception causes. Sadly, this means that TNFE for setProperty() related methods
will result in an AccumuloException instead of TNFE. This was always the case, though. At
least now, it should have some reasonable cause for the AccumuloException, with an informative
message, instead of some TApplicationException or some other obscure and difficult-to-debug

The intermittency of this issue might be related to ACCUMULO-2092, but I haven't done the
investigation necessary to confirm that.

> SimpleProxyIT fails on TableNotFoundException
> ---------------------------------------------
>                 Key: ACCUMULO-2134
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: proxy, test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.6.0
> {noformat}
> Running org.apache.accumulo.proxy.SimpleProxyIT
> 2014-01-04 17:22:37.202 java[59396:1903] Unable to load realm info from SCDynamicStore
> Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.547 sec <<<
> tableNotFound(org.apache.accumulo.proxy.SimpleProxyIT)  Time elapsed: 0.438 sec  <<<
> AccumuloException(msg:org.apache.accumulo.core.client.AccumuloException: org.apache.accumulo.core.client.TableNotFoundException:
Table doesNotExists does not exist)
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$removeConstraint_result$
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$removeConstraint_result$
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$
> 	at org.apache.thrift.TServiceClient.receiveBase(
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$Client.recv_removeConstraint(
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$Client.removeConstraint(
> 	at org.apache.accumulo.proxy.SimpleProxyIT.tableNotFound(
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> 	at java.lang.reflect.Method.invoke(
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
> 	at
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(
> 	at org.junit.internal.runners.statements.FailOnTimeout$
> {noformat}

This message was sent by Atlassian JIRA

View raw message