Are you sure the deletion of a (non-existent) mapping "_river" makes sense?
What connection is open? Database connection? Jörg Am 16.02.2015 12:29 schrieb "Abid Hussain" <[email protected]>: > Hi all, > > we have some JUnit based integration tests in which we basically setup a > clean system, create a river and do some index operations like > inserting/updating documents. We are not using ElasticSearchIntegrationTest > but are running our tests against a dedicated cluster. > > In the setup which is performed before every test run we do the following: > > 1. remove jdbc river from last test run > 2. remove index from last test run > 3. truncate all tables in database > > We are facing the issue that step 3 sometimes blocks because there is an > open connection from the river. > > The deletion is performed by this code: > DeleteMappingResponse response = client.admin().indices() > .prepareDeleteMapping("_river") > .setType(rivername) > .execute() > .actionGet(); > > return response.isAcknowledged(); > > Is this a known issue or do we have some misunderstanding of how to deal > with river deletion? > > May it be the case that the table truncation is performed when the river > deletion isn't fully completed? If so, is there a way to wait until river > deletion completed? > > Regards, > > Abid > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/00a6d81c-5f72-4c16-a814-dcb771d3111b%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/00a6d81c-5f72-4c16-a814-dcb771d3111b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHs1Yr2hGRv-Hg1Q0ufCEZY720boZwoU%2BXAeudx-nJ1gQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
