On 2019/04/06 09:14:24, [email protected] <[email protected]>
wrote:
>
>
> On 2019/04/05 17:59:20, Xikui Wang <[email protected]> wrote:
> > Hi Sandra,
> >
> > That's not an error but a reminder (which we probably should refactor
> > later) says the feed will try to use the configurations from the feed
> > definition. You don't really need to extend the access of your Twitter dev
> > account. As long as you follow the DDL template in the doc, you should be
> > fine. Here is the snippet from the documentation [1]:
> >
> > use feeds;
> >
> > create feed TwitterFeed with {
> > "adapter-name": "push_twitter",
> > "type-name": "Tweet",
> > "format": "twitter-status",
> > "consumer.key": "************",
> > "consumer.secret": "************",
> > "access.token": "**********",
> > "access.token.secret": "*************"
> > };
> >
> >
> > Best,
> > Xikui
> >
> > On Fri, Apr 5, 2019 at 8:08 AM [email protected] <
> > [email protected]> wrote:
> >
> > > Hi!
> > >
> > > When using the built-in push-based Twitter adapter, which endpoint in the
> > > Twitter API is it actually making a request to? I have obtained a
> > > developer
> > > account at Twitter, but I am not sure if I need any extended access than
> > > what provided for the normal developer accounts in order to use the
> > > Twitter
> > > adapter.
> > >
> > > When trying to start the feed which uses the Twitter adapter, I find the
> > > following error in the cc.log, and the query never seem to finish its
> > > execution:
> > >
> > > [QueryTranslator] WARN org.apache.asterix.external.util.TwitterUtil -
> > > unable to load authentication credentials from auth.properties
> > > filecredential information will be obtained from adapter's configuration
> > >
> > > Thanks in advance!
> > >
> > > Sandra
> > >
> >
> Hi Xikui, thank you for your reply!
>
> I am following the same example as in the documentation, and the query for
> creating the feed completes successfully. However, when trying to execute the
> query which should start the feed, the interface never outputs that the query
> has completed. If I then try to execute other queries (whilst the former
> haven't completed), it is not possible to successfully execute those either.
> I can not find anything in the logs which describes what is happening, other
> than a warning message I've never seen before:
> [QueryTranslator] WARN
> org.apache.hyracks.control.common.config.ConfigManager - NC option [nc]
> storage.lsm.bloomfilter.falsepositiverate being accessed outside of NC-scoped
> configuration.
>
> I am thinking maybe there is a problem connecting to Twitter, but I am not
> sure. Have you experienced anything similar before?
>
> Best,
> Sandra
>
For some context, I also cloned the asterixdb repo again and built it to ensure
I had the newest version, and tried to run the exact same DDLs as listed in the
documentation. The query for starting the TwitterFeed is still unable to
complete.