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 <[email protected]>
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 <[email protected]>
> 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 <
> > [email protected]> 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 <[email protected]>
> >> wrote:
> >>
> >> > correction...
> >> > include the statement below before running the queries.
> >> >
> >> > use dataverse Metadata;
> >> >
> >> > On Wed, Jan 6, 2016 at 10:43 AM, Raman Grover <
> [email protected]>
> >> > 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 <
> >> > > [email protected]> 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 <
> >> [email protected]>
> >> > >> 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 <
> >> > >> > [email protected]> 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
> >> >
> >>
> >
> >
>
<cluster xmlns="cluster">
<!-- Name of the cluster -->
<name>artemis</name>
<!-- username, which should be valid for all the three machines -->
<username>artemis</username>
<!-- The working directory of Managix. It is recommended for the working
directory to be on a network file system (NFS) that can accessed by
all machines.
Managix creates the directory if it it doesn't exist. -->
<working_dir>
<dir>/nfsdir/artemisnfs/working_dir</dir>
<NFS>true</NFS>
</working_dir>
<!-- Directory for Asterix to store worker logs information for each machine.
Needs to be on the local file system of each machine.
Managix creates the directory if it doesn't exist.
This property can be overriden for a node by redefining at the node level. -->
<log_dir>/mnt/artemis/logs</log_dir>
<!-- Directory for Asterix to store transaction log information for each machine.
Needs to be on the local file system of each machine.
Managix creates the directory if it doesn't exist.
This property can be overriden for a node by redefining at the node level. -->
<txn_log_dir>/mnt/artemis/txn_logs</txn_log_dir>
<!-- Mount point of an iodevice. Use a comma separated list for a machine that
has multiple iodevices (disks).
This property can be overriden for a node by redefining at the node level. -->
<iodevices>/mnt/artemis</iodevices>
<!-- Path on each iodevice where Asterix will store its data -->
<store>storage</store>
<!-- Java home for each machine -->
<java_home>/nfsdir/artemisnfs/jdk1.8.0_65</java_home>
<!-- IP addresses of the master machine A -->
<master_node>
<id>node0</id>
<client_ip>128.195.53.204</client_ip>
<cluster_ip>128.195.53.204</cluster_ip>
<client_port>1096</client_port>
<cluster_port>1097</cluster_port>
<http_port>8888</http_port>
</master_node>
<!-- IP address(es) of machine B -->
<node>
<id>node1</id>
<cluster_ip>128.195.53.200</cluster_ip>
</node>
<!-- IP address(es) of machine C -->
<node>
<id>node2</id>
<cluster_ip>128.195.53.163</cluster_ip>
</node>
<node>
<id>node3</id>
<cluster_ip>128.195.53.214</cluster_ip>
</node>
<node>
<id>node4</id>
<cluster_ip>128.195.53.178</cluster_ip>
</node>
</cluster>