You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (JIRA)" <ji...@apache.org> on 2017/10/21 16:12:00 UTC
[jira] [Resolved] (ASTERIXDB-2137) Feeds status REST API hangs
after a feed is stopped
[ https://issues.apache.org/jira/browse/ASTERIXDB-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xikui Wang resolved ASTERIXDB-2137.
-----------------------------------
Resolution: Fixed
> Feeds status REST API hangs after a feed is stopped
> ---------------------------------------------------
>
> Key: ASTERIXDB-2137
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2137
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Ildar Absalyamov
> Assignee: Xikui Wang
>
> GET on feed status REST endpoint localhost:19002/admin/active goes into an endless loop and never returns a result if any feed successfully completes or is stopped by the user.
> After the following AQL "curl http://127.0.0.1:19002/admin/active" hangs forever:
> {code}
> drop dataverse test if exists;
> create dataverse test;
> use dataverse test;
> create type TestType as open {
> "id": int8
> }
> create dataset TestDataset(TestType) primary key id;
> create feed TestFeed using socket_adapter
> (
> ("sockets"="localhost:10001"),
> ("address-type"="IP"),
> //type of the record
> ("type-name"="TestType"),
> //format of the record
> ("format"="adm")
> );
> connect feed TestFeed to dataset TestDataset;
> set wait-for-completion-feed "no";
> start feed TestFeed;
> stop feed TestFeed;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)