Print

Print


I am trying to get the whole team to use the same tools for
development. To get discussion going, let me tell you what
I found I typically need to do when I change the code
(assuming I have everything setup, declared, services are up,
and I am working with data loaded for integration tests case 1)


# cd to the qserv repo
cd ~/repo/qserv

# stop existing services, because it will be all destroyed
# by install, and I won't be able to stop them later, if
# I don't do that now, I'll have to manually kill all
# services
qserv-stop.sh

# build
eupspkg -er build

# install (which wipes out all data, not good)
eupspkg -er install

# reinitialize things like mysql data, scisql
# which was just destroyed
cd $QSERV_DIR/admin
scons

# this is needed for test data
cd $QSERV_DIR/admin
scons client

# start services
qserv-start.sh

# load the data for 1st use case
qserv-benchmark.py --case=01 --load

# and now finally I can run the query that causing troubles
mysql --protocol TCP --port 4040 -A LSST -e "my query"


(Even if the change is trivial and compilation is
instantaneous, this whole process takes nearly 2 minutes.)

Also, I hear Daniel has some extra requirements,
and he will reply to discuss it.


Andy, Serge, Bill, you are welcome to chime in,
let's provide the best input we can for Fabrice,
so that he can tweak his scripts and make them
work how we want it for our daily development.

thanks
Jacek




On 05/29/2014 08:51 PM, Jacek Becla wrote:
> Daniel
>
> I would really like you to use Fabrice scripts to install,
> declare, start/stop services etc, and help us get them right.
> Please do not avoid it and do not build your own scripts
> on the side :) The more we all use and test and improve the
> official procedure, the better they will be.
>
> P.S. This applies to everyone, but I think Daniel is most
> aggressive about using his own scripts on the side :)
>
> Thanks
> Jacek
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1