asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xikui Wang <xik...@uci.edu>
Subject Re: Several nodes on one machine with ansible
Date Wed, 20 Jun 2018 18:13:48 GMT
Hi Kristoffer,

For the UDF installation, what ansible does is to copy things over to the
right place. Similarly, if you copy the unarchived UDF library to the right
local directory, it will be picked up by the system as well. For the local
instance case, copy the unarchived files to "asterix
-server-0.9.4-SNAPSHOT-binary-assembly/lib/udfs/DV_NAME/LIB_NAME/" can help
you get a local instance with UDF installed.

An example with the default library installed on my machine looks like
following:

/Users/xikuiw/Temp/asterix-server-0.9.4-SNAPSHOT-binary-assembly/lib/udfs/test/test
% ls

DEPENDENCIES                                   NOTICE
                   change_feed.csv
LICENSE
asterix-external-data-0.9.4-SNAPSHOT-tests.jar library_descriptor.xml

Hope this can help you.

Best,
Xikui

On Wed, Jun 20, 2018 at 2:18 AM, Kristoffer Finckenhagen <
kristoffer.finckenhagen@gmail.com> wrote:

> Ok, thanks. I've got it running with the scripts in
> asterix-server/ttarget/asterix-server-*-binary-assembly/opt/local/bin
> folder. But I'm unsure of how to get my UDFs to work with this setup. I can
> only find documentation on installing them with the deprecated managix and
> ansible, how would i go about doing this?
>
> Again, thanks for the help and fast response.
>
> Kristoffer
>
> On Tue, 12 Jun 2018 at 22:38 Ian Maxon <imaxon@uci.edu> wrote:
>
> > If you're using only one machine, there's not much point to using
> > ansible. The easiest thing would be to just specify multiple iodevices
> > with one NC, or start multiple NCServices. Take a look at the
> > start-sample-cluster.sh script to see how it starts things, it
> > actually runs two NCs locally.
> >
> > On Tue, Jun 12, 2018 at 6:38 AM, Kristoffer Finckenhagen
> > <kristoffer.finckenhagen@gmail.com> wrote:
> > > Hi.
> > >
> > > I'm currently running some neural nets for sentiment analysis as udf on
> > > asterix feeds, deploying the cluster with ansible. Currently there is
> > only
> > > one nc running on localhost, but i would have liked to test with
> several
> > on
> > > the same machine, I'm just not completely sure how. Any help would be
> > > greatly appreciated.
> > >
> > > Regards
> > > Kristoffer
> > > --
> > > Mvh Kristoffer Finckenhagen
> >
> --
> Mvh Kristoffer Finckenhagen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message