Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2399

BatchWalkers die when started before Ingesters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.5, 1.5.2, 1.6.0
    • test

    Description

      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.

      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
      

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

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: