Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3921

Accumulo translator doesn't end query execution when there are no tablet servers

    Details

    • Steps to Reproduce:
      Hide

      1. Stop Accumulo instance
      2. Check tablet server entries in Zookeeper (depends on accumulo's shutdown type regular/abrupt)
      3. Run a query through Teiid's vdb against the accumulo instance, using accumulo translator
      4. Examine, that even though accumulo is down, the query keeps running, until query timeout exceeds.

      Show
      1. Stop Accumulo instance 2. Check tablet server entries in Zookeeper (depends on accumulo's shutdown type regular/abrupt) 3. Run a query through Teiid's vdb against the accumulo instance, using accumulo translator 4. Examine, that even though accumulo is down, the query keeps running, until query timeout exceeds.

      Description

      Teiid accumulo translator doesn't interrupt query execution when the accumulo instance is not running.

      There might be a situation that Zookeeper instance is running, but Accumulo is not.
      The translator, even though there is no tablet server entry in zookeeper, for given accumulo instance, executes the query. The query is running until query timeout exceeds. There is no indication of the fact, that accumulo tablet server is not present/responding except for

      09:25:46,539 WARN  [org.apache.accumulo.core.client.impl.ServerClient] (Worker3_QueryProcessorQueue21) There are no tablet servers: check that zookeeper and accumulo are running.
      

      There might be even situation, that Accumulo stopped in unusual way and didn't alter the tablet server information in Zookeeper, this way, there is a tablet server entry present in Zookeeper, but the tablet server is in fact not running. So Teiid should check the tablet server's address which received from Zookeeper.

      Interesting to note is the fact, that the same problem can be examined in accumulo's shell:

      $ bin/accumulo shell -u root
      Password: ******
      2016-01-22 10:02:05,604 [impl.ServerClient] WARN : There are no tablet servers: check that zookeeper and accumulo are running.
      

      and then the shell hangs. Teiid needs to overcome this limitation.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rareddy Ramesh Reddy
                Reporter:
                jstastny Jan Stastny
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: