asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Li (JIRA)" <>
Subject [jira] [Commented] (ASTERIXDB-1074) Feeds tutorial is outdated or doesn't work
Date Tue, 18 Aug 2015 07:00:54 GMT


Chen Li commented on ASTERIXDB-1074:

I was going through the tutorial and found the following problems so far.  I will talk to
Ian to decide which branch to use to fix them.

- There is an extra ";" in the following statement.

create feed ProcessedTwitterFeed if not exists
    using "push_twitter"
    apply function testlib#processRawTweet;

- In the following statement, we should change "ProcessedTweet" to "ProcessedTweets"

create type ProcessedTweet if not exists as open {

- When I ran the following command: 

 connect feed ProcessedTwitterFeed to
    dataset ProcessedTweets ;

I got the following error message: "Unknown target dataset :ProcessedTweets [AsterixException]"

> Feeds tutorial is outdated or doesn't work
> ------------------------------------------
>                 Key: ASTERIXDB-1074
>                 URL:
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB
>            Reporter: Ian Maxon
>            Priority: Blocker
> I can't seem to create a vanilla feed, using the push-based twitter adapter, as is in
the new tutorial in the docs.
> I create the feed using the specified syntax
>      create feed TwitterFeed if not exists using "push_twitter"
>     (("type-name"="Tweet"),("location"="US"));
> And a dataset that is of the right type
>     create dataset Tweets(Tweet) primary key id;
> But trying to connect it fails
>     connect feed TwitterFeed to dataset Tweets;
> With this error, which doesn't really make a lot of sense considering this adapter is
baked in
>     unable to create adapter java.lang.ClassNotFoundException: push_twitter [AlgebricksException]
> And what is more bewildering, is that if I drop, create, and reconect the feed- it doesn't
throw an exception any longer, but it doesn't actually work either. All that appears in the
logs is this: 
> Aug 11, 2015 12:20:34 PM edu.uci.ics.asterix.aql.translator.AqlTranslator getFeedConnectionRequest
> INFO: Feed joint feeds.TwitterFeed: [SOURCE_FEED_INTAKE_STAGE][CREATED] is available!
need not apply any further computation

This message was sent by Atlassian JIRA

View raw message