Mike Drob created ACCUMULO-2399:
-----------------------------------

             Summary: BatchWalkers die when started before Ingesters
                 Key: ACCUMULO-2399
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2399
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Mike Drob
            Priority: Minor
             Fix For: 1.6.0


When starting up ingest and batchwalk at the same time for the continuous 
ingest test, if the walkers come up first then they might die due to 
{{TableNotFound}}.

{noformat}
Thread "org.apache.accumulo.test.continuous.ContinuousBatchWalker" died 
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.accumulo.start.Main$1.run(Main.java:137)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.accumulo.core.client.TableNotFoundException: Table ci 
does not exist
        at 
org.apache.accumulo.core.client.impl.Tables._getTableId(Tables.java:181)
        at 
org.apache.accumulo.core.client.impl.Tables.getTableId(Tables.java:166)
        at 
org.apache.accumulo.core.client.impl.ConnectorImpl.getTableId(ConnectorImpl.java:84)
        at 
org.apache.accumulo.core.client.impl.ConnectorImpl.createScanner(ConnectorImpl.java:151)
        at 
org.apache.accumulo.test.continuous.ContinuousBatchWalker.main(ContinuousBatchWalker.java:61)
        ... 6 more
{noformat}

A workaround is to make sure you start ingest first, or to manually create the 
table before the test.



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

Reply via email to