simlaudato / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Feeds tutorial is outdated or doesn't work #929

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

Original issue reported on code.google.com by ima...@uci.edu on 11 Aug 2015 at 7:22

GoogleCodeExporter commented 8 years ago
I was planning to try this feed feature (after testing the fuzzy-query 
feature).  After Ian's pass, I can have mine.

Original comment by che...@gmail.com on 12 Aug 2015 at 12:55