Martin Kersten | 3 Feb 2007 10:56
Picon
Picon
Favicon

Re: [Monetdb-sql-checkins] sql/src/server sql_parser.mx, 1.231.2.3, 1.231.2.4

Romulo,

I checked in a small change to illustrate what could be done.
For example, we could box the syntax to delineate it clearly
from the comments. If necessary, we could also use a smaller
font there, because the attention should be on the additional
information.

Have a look and tell me what you think.

The following link could be handy
http://www.gnu.org/software/texinfo/manual/texinfo/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Romulo Goncalves | 3 Feb 2007 11:05
Picon
Picon
Favicon

Re: [Monetdb-sql-checkins] sql/src/server sql_parser.mx, 1.231.2.3, 1.231.2.4

Martin Kersten wrote:
> Romulo,
> 
> I checked in a small change to illustrate what could be done.
> For example, we could box the syntax to delineate it clearly
> from the comments. If necessary, we could also use a smaller
> font there, because the attention should be on the additional
> information.
> 

Yes I agree. :)

I am looking for all the syntax needed and put it online.
There few problems with the parser. Some of the options are optional and 
they should not be. There are no tests to cover all the options 
combinations which for sure will pop up some semantic errors in the 
implementation. Yesterday, I just found one in the first example.

In this way I can force Niels and also me to check all the parser 
(syntactically and semantically).

I will follow your structure for the next commits. ;)

Regards,
Romulo

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
(Continue reading)

Romulo Goncalves | 3 Feb 2007 17:29
Picon
Picon
Favicon

M5 cvs head crash when it starts..

Dear developers,

Who was the "angle" responsible for this:

Starting program: 
/net/amelia/export/scratch1/goncalve/MonetDB/MonetDB5/bin/mserver5 
--dbname=demo --set mapi_port=50000 --dbinit=include\ sql\;\ 
clients.setTrace\(true\)\;\ sql.start\(\)\;
[Thread debugging using libthread_db enabled]
[New Thread 46912515613600 (LWP 26623)]
!WARNING: GDKlockHome: created directory 
/ufs/goncalve/scratch/MonetDB/MonetDB5/var/MonetDB5/dbfarm/demo/
!WARNING: GDKlockHome: ignoring empty or invalid .gdk_lock.
!WARNING: BBPdir: initializing BBP.
[New Thread 1082132800 (LWP 26626)]
# MonetDB Server v5.0.0_beta2_1
# Copyright (c) 1993-2007 CWI, all rights reserved
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically 
linked
# dbname:demo
# Visit http://monetdb.cwi.nl/ for further information
!MALException:MAL.getAddress:address of 'bpm.BPMrange' not found
!SyntaxException:parseError:command rangePartition(pb:bat[:oid,:any_2], 
pv:bat[:oid,:any_2]):void
!SyntaxException:parseError:^';' expected
!FATAL: Failed to initialise system

Program exited with code 01.

I lost my afternoon to create a installer in windows. After all the work 
(Continue reading)

Stefan Manegold | 3 Feb 2007 17:35
Picon
Picon
Favicon

Re: M5 cvs head crash when it starts..

On Sat, Feb 03, 2007 at 05:29:10PM +0100, Romulo Goncalves wrote:
> Dear developers,
> 
> Who was the "angle" responsible for this:
> 
> Starting program: 
> /net/amelia/export/scratch1/goncalve/MonetDB/MonetDB5/bin/mserver5 
> --dbname=demo --set mapi_port=50000 --dbinit=include\ sql\;\ 
> clients.setTrace\(true\)\;\ sql.start\(\)\;
> [Thread debugging using libthread_db enabled]
> [New Thread 46912515613600 (LWP 26623)]
> !WARNING: GDKlockHome: created directory 
> /ufs/goncalve/scratch/MonetDB/MonetDB5/var/MonetDB5/dbfarm/demo/
> !WARNING: GDKlockHome: ignoring empty or invalid .gdk_lock.
> !WARNING: BBPdir: initializing BBP.
> [New Thread 1082132800 (LWP 26626)]
> # MonetDB Server v5.0.0_beta2_1
> # Copyright (c) 1993-2007 CWI, all rights reserved
> # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically 
> linked
> # dbname:demo
> # Visit http://monetdb.cwi.nl/ for further information
> !MALException:MAL.getAddress:address of 'bpm.BPMrange' not found
> !SyntaxException:parseError:command rangePartition(pb:bat[:oid,:any_2], 
> pv:bat[:oid,:any_2]):void
> !SyntaxException:parseError:^';' expected
> !FATAL: Failed to initialise system
> 
> Program exited with code 01.
> 
(Continue reading)

Ying Zhang | 5 Feb 2007 12:49
Picon
Picon
Favicon

Re: pathfinder/tests/XRpc/Tests xrpcConvert2.xrpcfun2.xq.in, NONE, 1.1.2.1 xrpcConvert2.xq.in, 1.1.2.1, 1.1.2.2 xrpcfun2.xq, 1.1.2.1, NONE

Hi Stefan,

Thanks for correcting this.  I was about to do this today.  But you are
faster.

Jennie

On Mon, Feb 05, 2007 at 10:46:53AM +0000, Stefan Manegold wrote:
> Update of /cvsroot/monetdb/pathfinder/tests/XRpc/Tests
> In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32227
> 
> Modified Files:
>       Tag: XQuery_0-16
> 	xrpcConvert2.xq.in 
> Added Files:
>       Tag: XQuery_0-16
> 	xrpcConvert2.xrpcfun2.xq.in 
> Removed Files:
>       Tag: XQuery_0-16
> 	xrpcfun2.xq 
> Log Message:
> 
> [a(n other) lesson in/on Mtest]
> 
> make sure we only use files that are available and that everyone can read/access
> (in particular, CWI-desktop-local /ufs/≤username>/ are not available on some CWI
>  servers, let alone outside CWI, and even on CWI desktops, not all /ufs/≤username>/
>  are readable/accessable for all users ...)
> 
> this should fix
(Continue reading)

Stefan Manegold | 5 Feb 2007 15:11
Picon
Picon
Favicon

Re: [Monetdb-checkins] buildtools/mel Makefile.am, 1.2, 1.2.8.1

On Mon, Feb 05, 2007 at 01:31:00PM +0000, Fabian wrote:
> Update of /cvsroot/monetdb/buildtools/mel
> In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17673
> 
> Modified Files:
>       Tag: MonetDB_1-16
> 	Makefile.am 
> Log Message:
> automake 1.10 complains about GNU-isms, ignore them for now, chosing
> the lazy approach from
> http://www.nabble.com/warning-about-GNU-make-extension-with-automake-1.10-t2934239.html
> 

Indeed, we do require GNU make;
see also 
http://monetdb.cwi.nl/MonetDB/Documentation/Linux-Installation.html
-> "1.6.3.2 Prerequisites" -> "`standard software development tools'"

Stefan

> 
> 
> Index: Makefile.am
> ===================================================================
> RCS file: /cvsroot/monetdb/buildtools/mel/Makefile.am,v
> retrieving revision 1.2
> retrieving revision 1.2.8.1
> diff -u -d -r1.2 -r1.2.8.1
> --- Makefile.am	29 Jul 2005 12:47:59 -0000	1.2
> +++ Makefile.am	5 Feb 2007 13:30:48 -0000	1.2.8.1
(Continue reading)

Ying Zhang | 6 Feb 2007 11:17
Picon
Picon
Favicon

Re: [Monetdb-pf-checkins] pathfinder/compiler/sql lalg2sql.brg, 1.24, 1.25

Hi Manuel,

Sorry for my picky compiler option.  There is yet another unused
parameter:

cc1: warnings being treated as errors
../../../compiler/sql/lalg2sql.brg:2647: warning: unused parameter
'res_ty'
make[5]: *** [libsql_la-lalg2sql.lo] Error 1
make[5]: Leaving directory
`/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler/sql'
make[4]: *** [install] Error 2
make[4]: Leaving directory
`/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler/sql'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug'
make: *** [install] Error 2

Regards,

Jennie

On Mon, Feb 05, 2007 at 10:29:19AM +0000, Manuel Mayr wrote:
(Continue reading)

Stefan Manegold | 6 Feb 2007 11:26
Picon
Picon
Favicon

Re: [Monetdb-pf-checkins] pathfinder/compiler/sql lalg2sql.brg, 1.24, 1.25

Manuel,

don't you get these yourself?

If not, which compiler (-version) are you using, which configure options do
you specify (if any), and are your buildtools up-to-date?

Stefan

On Tue, Feb 06, 2007 at 11:17:10AM +0100, Ying Zhang wrote:
> Hi Manuel,
> 
> Sorry for my picky compiler option.  There is yet another unused
> parameter:
> 
> cc1: warnings being treated as errors
> ../../../compiler/sql/lalg2sql.brg:2647: warning: unused parameter
> 'res_ty'
> make[5]: *** [libsql_la-lalg2sql.lo] Error 1
> make[5]: Leaving directory
> `/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler/sql'
> make[4]: *** [install] Error 2
> make[4]: Leaving directory
> `/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler/sql'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> `/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory
> `/net/andorea/export/scratch1/zhang/monet/current/pathfinder/build-debug/compiler'
(Continue reading)

Romulo Goncalves | 6 Feb 2007 15:24
Picon
Picon
Favicon

Re: [Monetdb-checkins] MonetDB5/src/modules/mal bpm.mx, 1.23, 1.24

Martin Kersten wrote:
> Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
> In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29523
> 
> Modified Files:
> 	bpm.mx 
> Log Message:
> 70% of the code needed to handle partitioned BATs in a single server.
> The code is not tested yet (except for compilation errors), but should
> give a head start for those in-experienced in working with MonetDB source code.
> 
> 
> Index: bpm.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/bpm.mx,v
> retrieving revision 1.23
> retrieving revision 1.24
> diff -u -d -r1.23 -r1.24
> --- bpm.mx	4 Feb 2007 22:55:32 -0000	1.23
> +++ bpm.mx	6 Feb 2007 07:16:13 -0000	1.24
>  <at>  <at>  -229,7 +229,7  <at>  <at> 
>  address BPMdestroy
>  comment "Destroy the BAT partition box";
>  
> -command deposit(nme:str,b:bat[:oid,:any_2]) :void
> +command deposit(nme:str,b:bat[:oid,:any_2]) :bat[:oid,:any_2]
>  address BPMdeposit
>  comment "Create a new partitioned BAT by name";
>  
>  <at>  <at>  -238,36 +238,36  <at>  <at> 
(Continue reading)

Khaled Esmat | 7 Feb 2007 10:58

Mserver restart failure

Can anyone help please. I have a problem which should be simple to
resolve, I am working under Windows platfrom and the problem is:

When I keep writing data into the monet database, once the database gets
large(>70k records), I simply can't shut down / restart the mserver. I
get either of the following:

1. Mserver: !OS: Permission denied
rename(bat\BACKUP\,bat\DELETE_ME\) failed.
-------------------
Or

2. !ERROR: GDKremovedir: rmdir(bat\BACKUP\) failed.
!OS: Permission denied.
!Error: BBPrecover_subdir: recovery failed. Please check whether your
disk is full or write protected.
!FATAL: BBPinit: cannot properly process bat\BACKUP\SUBCOMMIT\.

Then when I manually delete the folder subcommit after making sure its
empty, and restart the server it displays the version,copyright, visit
website, and then hangs up when it is supposed to start the MonetDB>
server.
-----------------------

Has anyone come across a similar problem on a Windows environment? I saw
on the web a similar bug reported but the recommended solution was to
-disable the indexing Service-, which did not resolve the problem. Site
name is: http://kdl.cs.umass.edu/software/FAQ.html

Any help would be really appreciated.
(Continue reading)


Gmane