accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2134) SimpleProxyIT fails on TableNotFoundException
Date Thu, 09 Jan 2014 16:06:51 GMT

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

Josh Elser commented on ACCUMULO-2134:
--------------------------------------

bq. It is surprising that a method that throws TNFE doesn't throw TNFE when the table isn't
found. I would call this a regression.

I guess that's the not-straightforward part of this. Best as I can tell, I *think* this is
what [~ctubbsii] did to not have to slap a NamespaceNotFoundException and TNFE on every TableOperations
method? At the same time, it doesn't look like TableOperationsImpl hasn't ever thrown TableNotFoundException
on removeProperty (at least in 1.5.0).

At the same time, there are a few methods on TableOperations that don't have TNFE thrown...
which is awkward.

> SimpleProxyIT fails on TableNotFoundException
> ---------------------------------------------
>
>                 Key: ACCUMULO-2134
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2134
>             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 <<<
FAILURE!
> tableNotFound(org.apache.accumulo.proxy.SimpleProxyIT)  Time elapsed: 0.438 sec  <<<
ERROR!
> 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$removeConstraint_resultStandardScheme.read(AccumuloProxy.java:42869)
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$removeConstraint_result$removeConstraint_resultStandardScheme.read(AccumuloProxy.java:42855)
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$removeConstraint_result.read(AccumuloProxy.java:42789)
> 	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$Client.recv_removeConstraint(AccumuloProxy.java:1298)
> 	at org.apache.accumulo.proxy.thrift.AccumuloProxy$Client.removeConstraint(AccumuloProxy.java:1283)
> 	at org.apache.accumulo.proxy.SimpleProxyIT.tableNotFound(SimpleProxyIT.java:583)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message