You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Abdullah Alamoudi (JIRA)" <ji...@apache.org> on 2016/05/23 19:06:13 UTC

[jira] [Comment Edited] (ASTERIXDB-1461) Feed push socket start client query is not working

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

Abdullah Alamoudi edited comment on ASTERIXDB-1461 at 5/23/16 7:05 PM:
-----------------------------------------------------------------------

If you want to use the client, you need to create an instance of asterixdb/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/client/FileFeedSocketAdapterClient.java

pass the argument in the statement and call the start() method. It will stop in one of the following cases:
1. the file is read completely
2. the upper bound is reached (500 in this case).
3. the stop() method is called.

Hope that helps,
Abdullah.


was (Author: amoudi):
If you want to use the client, you need to create an instance of /Users/abdullahalamoudi/Documents/dev/branches/gm/asterixdb/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/client/FileFeedSocketAdapterClient.java

pass the argument in the statement and call the start() method. It will stop in one of the following cases:
1. the file is read completely
2. the upper bound is reached (500 in this case).
3. the stop() method is called.

Hope that helps,
Abdullah.

> Feed push socket start client query is not working
> --------------------------------------------------
>
>                 Key: ASTERIXDB-1461
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1461
>             Project: Apache AsterixDB
>          Issue Type: Test
>          Components: Feeds
>            Reporter: Xi Zhang
>            Assignee: Abdullah Alamoudi
>
> I want to set up a socket feed. It seems that the query 
> "start client 10001 file-client localhost ../asterix-app/data/twitter/tw_messages.adm 500 50 1000" is not working. 
> The error is: 
> "Error: Encountered " <IDENTIFIER> "start "" at line 1, column 1.
> Was expecting one of: ..."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)