Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66F45183C5 for ; Wed, 13 Jan 2016 01:28:28 +0000 (UTC) Received: (qmail 10265 invoked by uid 500); 13 Jan 2016 01:28:28 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 10201 invoked by uid 500); 13 Jan 2016 01:28:28 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 10182 invoked by uid 99); 13 Jan 2016 01:28:27 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 01:28:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 58137C0044 for ; Wed, 13 Jan 2016 01:28:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.149 X-Spam-Level: *** X-Spam-Status: No, score=3.149 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4ynwPwPWPCEe for ; Wed, 13 Jan 2016 01:28:20 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id BA41831AC4 for ; Wed, 13 Jan 2016 01:28:19 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id ba1so452376787obb.3 for ; Tue, 12 Jan 2016 17:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vLziQ/MALvmiX39qP+3pinivKghWaGOEAKgGeMob9C4=; b=jhgMI/kDrJceipaJzVmQqR27wIkNs2KGQW0BA9KGObA0yzzfVXE41WDEpRmMdUMSXL uE/YRbEpZUG0U6dN75tBYLCYko6YO3f4hzQozvVajRmHJ7MX5lSB/4luXrwLMl2EyQce Htpx6BRPwwNHBYNiFsp9BOPogU4KF24En3zM7zziVXb85KM3ey6ge/lAs7UJRNYl39Ah C76ekM3wC/WFsGGKS5wuG9yREiz0kT4JySXHdqn9uRBWnFPkIEB4hD43lJJ8L/B3lGZ2 BPw6QsSoseiEA49bTc7kSvlftBsx4Yd4xL2BGjpU0VOGIxyTx7FvakFG1te1wHDbnrHs /YKA== MIME-Version: 1.0 X-Received: by 10.60.137.137 with SMTP id qi9mr104315306oeb.56.1452648498596; Tue, 12 Jan 2016 17:28:18 -0800 (PST) Received: by 10.202.90.10 with HTTP; Tue, 12 Jan 2016 17:28:18 -0800 (PST) In-Reply-To: References: Date: Tue, 12 Jan 2016 17:28:18 -0800 Message-ID: Subject: Re: Support for push twitter feed adaptor in 0.8.6 From: Vignesh Raghunathan To: dev@asterixdb.incubator.apache.org Content-Type: multipart/mixed; boundary=047d7b4141aabe3df905292d15c3 --047d7b4141aabe3df905292d15c3 Content-Type: multipart/alternative; boundary=047d7b4141aabe3df405292d15c1 --047d7b4141aabe3df405292d15c1 Content-Type: text/plain; charset=UTF-8 Hi, I've been trying to install AsterixDB with the above mentioned changes in a cluster but I get the following error WARNING!:Cluster Controller not running at node0 The cluster earlier had AsterixDB 0.86 installed. I haven't changed the configurations of the cluster and I am using the same cluster configuration file. Should I perform some manual cleanup before installing the later version in a system which had 0.86 installed? I have attached the cluster configuration file for reference. Thanks, Vignesh On Thu, Jan 7, 2016 at 8:05 AM, abdullah alamoudi wrote: > Just to clarify, > The Twitter adapter was working until I did some cleanup work (last week) > in external data land and so the adapter was hidden. > > I have submitted a change and if someone is eager to use it, it can be > checked out through: > git fetch https://asterix-gerrit.ics.uci.edu/asterixdb > refs/changes/74/574/1 && git checkout FETCH_HEAD > > Duplicate key errors (in feeds) will result in a deadlock until we figure > it out (which is what I am doing right now). Querying the adapters will not > show the twitter adapter though because It is not an adapter anymore. it is > a data source. The example in the documentation will still work though. > > Cheers, > Abdullah. > > Amoudi, Abdullah. > > On Thu, Jan 7, 2016 at 10:27 AM, abdullah alamoudi > wrote: > > > Vignesh, > > The most recent version doesn't have the push_twitter adapter (meaning > > that, when you query the adapters, you will not see it.) but its alias is > > still there in the system. > > > > I have looked at the current master after your question and found out why > > it didn't work. I fixed it on my branch and I am pushing it for review > > along with other feed fixes later tonight. > > > > TL,DR, It doesn't work right now but should be working tomorrow :) > > > > Cheers, > > Abdullah. > > > > > > Amoudi, Abdullah. > > > > On Thu, Jan 7, 2016 at 10:16 AM, Vignesh Raghunathan < > > vignesh.raghunathan90@gmail.com> wrote: > > > >> My installation does not have the push_twitter adaptor. I'll use a more > >> recent version then. Thank you for the response. > >> > >> On Thu, Jan 7, 2016 at 12:14 AM, Raman Grover > >> wrote: > >> > >> > correction... > >> > include the statement below before running the queries. > >> > > >> > use dataverse Metadata; > >> > > >> > On Wed, Jan 6, 2016 at 10:43 AM, Raman Grover < > ramangrover29@gmail.com> > >> > wrote: > >> > > >> > > I believe, the push based twitter adaptor was introduced in 0.8.7 > >> (prior > >> > > version had the pull based adaptor) > >> > > > >> > > The set of adapters available with an asterixDB installation can be > >> > > looked up using the following query > >> > > for $x in dataset DatasourceAdapter > >> > > return $x > >> > > > >> > > OR > >> > > > >> > > use the query below to look up the adaptor you are wishing to use. > >> > > > >> > > for $x in dataset DatasourceAdapter > >> > > where $x.Name='push_twitter' > >> > > return $x > >> > > > >> > > > >> > > Can you confirm (using above) if your installation has the > >> push_twitter > >> > > adaptor built-in? > >> > > > >> > > Regards, > >> > > Raman > >> > > > >> > > On Wed, Jan 6, 2016 at 10:10 AM, Vignesh Raghunathan < > >> > > vignesh.raghunathan90@gmail.com> wrote: > >> > > > >> > >> I used the statements in the tutorial for data feeds in 0.8.7 > >> > >> documentation > >> > >> > >> > >> > >> > >> > >> > > >> > https://asterixdb.incubator.apache.org/docs/0.8.7-incubating/feeds/tutorial.html > >> > >> > >> > >> Thank you > >> > >> > >> > >> On Wed, Jan 6, 2016 at 10:05 PM, abdullah alamoudi < > >> bamousaa@gmail.com> > >> > >> wrote: > >> > >> > >> > >> > Vignesh, > >> > >> > Can you share with me the exact statements you used and I will be > >> sure > >> > >> to > >> > >> > help you. > >> > >> > > >> > >> > Cheers, > >> > >> > Abdullah. > >> > >> > > >> > >> > Amoudi, Abdullah. > >> > >> > > >> > >> > On Wed, Jan 6, 2016 at 7:03 PM, Vignesh Raghunathan < > >> > >> > vignesh.raghunathan90@gmail.com> wrote: > >> > >> > > >> > >> > > Hi, > >> > >> > > > >> > >> > > After creating a twitter feed, I am getting the following error > >> if I > >> > >> try > >> > >> > to > >> > >> > > connect the feed to a dataset. > >> > >> > > > >> > >> > > unable to create adapter java.lang.ClassNotFoundException: > >> > >> > > push_twitter [AlgebricksException] > >> > >> > > > >> > >> > > > >> > >> > > Isn't the push twitter feed adaptor supported in 0.8.6? > >> > >> > > > >> > >> > > Thanks, > >> > >> > > Vignesh > >> > >> > > > >> > >> > > >> > >> > >> > > > >> > > > >> > > > >> > > -- > >> > > Raman > >> > > > >> > > >> > > >> > > >> > -- > >> > Raman > >> > > >> > > > > > --047d7b4141aabe3df405292d15c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I've been trying to install Ast= erixDB with the above mentioned changes in a cluster but I get the followin= g error

WARNING!:Cluster Controller not running at n= ode0

The cluster earlier had AsterixDB 0.86 install= ed. I haven't changed the configurations of the cluster and I am using = the same cluster configuration file. Should I perform some manual cleanup b= efore installing the later version in a system which had 0.86 installed?

I have attached the cluster configuration file for reference= .

Thanks,

Vignesh


On Thu, Jan 7, 2016 at 8:= 05 AM, abdullah alamoudi <bamousaa@gmail.com> wrote:
Just to clarify,
The Twitter adapter was working until I did some cleanup work (last week) in external data land and so the adapter was hidden.

I have submitted a change and if someone is eager to use it, it can be
checked out through:
git fetch https://asterix-gerrit.ics.uci.edu/asterixdb
refs/changes/74/574/1 && git checkout FETCH_HEAD

Duplicate key errors (in feeds) will result in a deadlock until we figure it out (which is what I am doing right now). Querying the adapters will not=
show the twitter adapter though because It is not an adapter anymore. it is=
a data source. The example in the documentation will still work though.

Cheers,
Abdullah.

Amoudi, Abdullah.

On Thu, Jan 7, 2016 at 10:27 AM, abdullah alamoudi <
bamousaa@gmail.com>
wrote:

> Vignesh,
> The most recent version doesn't have the push_twitter adapter (mea= ning
> that, when you query the adapters, you will not see it.) but its alias= is
> still there in the system.
>
> I have looked at the current master after your question and found out = why
> it didn't work. I fixed it on my branch and I am pushing it for re= view
> along with other feed fixes later tonight.
>
> TL,DR, It doesn't work right now but should be working tomorrow :)=
>
> Cheers,
> Abdullah.
>
>
> Amoudi, Abdullah.
>
> On Thu, Jan 7, 2016 at 10:16 AM, Vignesh Raghunathan <
> vignesh.raghunathan= 90@gmail.com> wrote:
>
>> My installation does not have the push_twitter adaptor. I'll u= se a more
>> recent version then. Thank you for the response.
>>
>> On Thu, Jan 7, 2016 at 12:14 AM, Raman Grover <ramangrover29@gmail.com>
>> wrote:
>>
>> > correction...
>> > include the statement below before running the queries.
>> >
>> > use dataverse Metadata;
>> >
>> > On Wed, Jan 6, 2016 at 10:43 AM, Raman Grover <ramangrover29@gmail.com>
>> > wrote:
>> >
>> > > I believe, the push based twitter adaptor was introduced= in 0.8.7
>> (prior
>> > > version had the pull based adaptor)
>> > >
>> > > The set of adapters=C2=A0 available with an asterixDB in= stallation can be
>> > > looked up using the following query
>> > > for $x in dataset DatasourceAdapter
>> > > return $x
>> > >
>> > > OR
>> > >
>> > > use the query below to look up the adaptor you are wishi= ng to use.
>> > >
>> > > for $x in dataset DatasourceAdapter
>> > > where $x.Name=3D'push_twitter'
>> > > return $x
>> > >
>> > >
>> > > Can you confirm (using above) if your installation has t= he
>> push_twitter
>> > > adaptor built-in?
>> > >
>> > > Regards,
>> > > Raman
>> > >
>> > > On Wed, Jan 6, 2016 at 10:10 AM, Vignesh Raghunathan <= ;
>> > > vigne= sh.raghunathan90@gmail.com> wrote:
>> > >
>> > >> I used the statements in the tutorial for data feeds= in 0.8.7
>> > >> documentation
>> > >>
>> > >>
>> > >>
>> >
>> https://ast= erixdb.incubator.apache.org/docs/0.8.7-incubating/feeds/tutorial.html >> > >>
>> > >> Thank you
>> > >>
>> > >> On Wed, Jan 6, 2016 at 10:05 PM, abdullah alamoudi &= lt;
>> bamousaa@gmail.com> >> > >> wrote:
>> > >>
>> > >> > Vignesh,
>> > >> > Can you share with me the exact statements you = used and I will be
>> sure
>> > >> to
>> > >> > help you.
>> > >> >
>> > >> > Cheers,
>> > >> > Abdullah.
>> > >> >
>> > >> > Amoudi, Abdullah.
>> > >> >
>> > >> > On Wed, Jan 6, 2016 at 7:03 PM, Vignesh Raghuna= than <
>> > >> > vignesh.raghunathan90@gmail.com> wrote:
>> > >> >
>> > >> > > Hi,
>> > >> > >
>> > >> > > After creating a twitter feed, I am gettin= g the following error
>> if I
>> > >> try
>> > >> > to
>> > >> > > connect the feed to a dataset.
>> > >> > >
>> > >> > > unable to create adapter=C2=A0 java.lang.C= lassNotFoundException:
>> > >> > > push_twitter [AlgebricksException]
>> > >> > >
>> > >> > >
>> > >> > > Isn't the push twitter feed adaptor su= pported in 0.8.6?
>> > >> > >
>> > >> > > Thanks,
>> > >> > > Vignesh
>> > >> > >
>> > >> >
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > Raman
>> > >
>> >
>> >
>> >
>> > --
>> > Raman
>> >
>>
>
>

--047d7b4141aabe3df405292d15c1-- --047d7b4141aabe3df905292d15c3 Content-Type: text/xml; charset=US-ASCII; name="artemis88.xml" Content-Disposition: attachment; filename="artemis88.xml" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ijc5d3h30 PGNsdXN0ZXIgeG1sbnM9ImNsdXN0ZXIiPgoKICAgICAgPCEtLSBOYW1lIG9mIHRoZSBjbHVzdGVy IC0tPgogICAgICA8bmFtZT5hcnRlbWlzPC9uYW1lPgoKICAgICAgPCEtLSB1c2VybmFtZSwgd2hp Y2ggc2hvdWxkIGJlIHZhbGlkIGZvciBhbGwgdGhlIHRocmVlIG1hY2hpbmVzIC0tPgogICAgICA8 dXNlcm5hbWU+YXJ0ZW1pczwvdXNlcm5hbWU+CgogICAgICA8IS0tIFRoZSB3b3JraW5nIGRpcmVj dG9yeSBvZiBNYW5hZ2l4LiBJdCBpcyByZWNvbW1lbmRlZCBmb3IgdGhlIHdvcmtpbmcKICAgICAg ICAgICBkaXJlY3RvcnkgdG8gYmUgb24gYSBuZXR3b3JrIGZpbGUgc3lzdGVtIChORlMpIHRoYXQg Y2FuIGFjY2Vzc2VkIGJ5CiAgICAgICAgICAgYWxsIG1hY2hpbmVzLgogICAgICAgICAgIE1hbmFn aXggY3JlYXRlcyB0aGUgZGlyZWN0b3J5IGlmIGl0IGl0IGRvZXNuJ3QgZXhpc3QuIC0tPgogICAg ICA8d29ya2luZ19kaXI+CiAgICAgICAgPGRpcj4vbmZzZGlyL2FydGVtaXNuZnMvd29ya2luZ19k aXI8L2Rpcj4KICAgICAgICA8TkZTPnRydWU8L05GUz4KICAgICAgPC93b3JraW5nX2Rpcj4KCiAg ICAgIDwhLS0gRGlyZWN0b3J5IGZvciBBc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