asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Maxon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1074) Feeds tutorial is outdated or doesn't work
Date Tue, 18 Aug 2015 00:03:45 GMT
Ian Maxon created ASTERIXDB-1074:
------------------------------------

             Summary: Feeds tutorial is outdated or doesn't work
                 Key: ASTERIXDB-1074
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1074
             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
(v6.3.4#6332)

Mime
View raw message