On Jan 2, 7:14 am, "Mateusz Berezecki" <[email protected]> wrote:
> Luke,
>
> Sorry for the delayed response. Was in the mountains with no internet
> connectivity.
>
> On Wed, Dec 31, 2008 at 6:19 PM, Luke <[email protected]> wrote:
>
> > First, can you post the output of uname -a; gcc -v; <install_dir>/bin/
> > hypertable --version ?
>
> m:~ m$ uname -a
> Darwin m.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00
> PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
>
> m:~ m$ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5490~1/src/configure
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
> --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5490)
>
> m:~ m$ /opt/hypertable/0.9.1.1/bin/hypertable --version
> Hypertable 0.9.1.1 (v0.9.1.1-dirty)
> Assertion failed: (!pthread_mutex_destroy(&m)), function
> ~recursive_mutex, file
> /usr/local/include/boost/thread/pthread/recursive_mutex.hpp, line 62.
> Abort trap
>
> One other thing worth mentioning is the ability to start ThriftBroker
> manually by running the command
>
> m:bin m$ ./ThriftBroker --port 9999
> 1230822094 INFO ThriftBroker :
> (/Users/m/work/hypertable/src/cc/ThriftBroker/ThriftBroker.cc:556)
> Starting the server...
> libevent 1.4.8-stable method kqueue
>
> But trying to start it with serverup resuts in
>
> m:bin m$ /opt/hypertable/0.9.1.1/bin/serverup --silent thriftbroker
> terminate called after throwing an instance of
> 'facebook::thrift::transport::TTransportException'
>   what():  Frame size has negative value
> Abort trap
>
> I have traced this bug to be linked to the ThriftBroker.Port setting
> in the configuration file. The default ThriftBroker.Port value is
> already occupied on my computer. Instead of seeing bind() failure
> errors, or something along these lines it presents the negative frame
> size error message which I believe is misleading, but AFAIK this is
> Thrift's issue from now on, not the broker issue.

Ah, this makes sense. Thanks for tracking it down. The startup script
actually tries to use serverup first tries to connect to ThriftBroker
at a given port, before it actually start the broker. I guess I can
try to catch the transport exception and print some more informative
message like "incompatible server found at <port>".

>
> Happy new year 2009!

Happy New Year!

__Luke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to