Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1074

Feeds tutorial is outdated or doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • *DB - AsterixDB

    Description

      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

      Attachments

        Activity

          People

            imaxon Ian Maxon
            imaxon Ian Maxon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: