You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/04 15:18:21 UTC

[jira] [Commented] (ACCUMULO-2399) BatchWalkers die when started before Ingesters

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

ASF subversion and git services commented on ACCUMULO-2399:
-----------------------------------------------------------

Commit 759582b78d5d72870a4a8c359ef6134c4dd97993 in accumulo's branch refs/heads/1.5.2-SNAPSHOT from [~mdrob@cloudera.com]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=759582b ]

ACCUMULO-2399 Alert user CI table should exist

Extract common table checking functionality for continuous clients and
fail fast when the table does not exist. No longer create the table in
ingest to make the requirement explicit.


> 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
>            Assignee: Mike Drob
>            Priority: Minor
>              Labels: 16_qa_bug
>             Fix For: 1.4.5, 1.5.2, 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.2#6252)