Hi Mateusz, Thank you for your fast reply, i tried your suggestion but it seems that the problem persist:(
Should i do anything else or is there any log that i need to send here? Ufuk On May 24, 9:10 pm, Mateusz Berezecki <[email protected]> wrote: > Can you try replacing errorTimeWrapper inside Thrift source code in > lib/cpp/src/Thrift.h file with this > > inline static void errorTimeWrapper(const char* msg) { > time_t now; > char dbgtime[26]; > time(&now); > ctime_r(&now, dbgtime); > dbgtime[25] = 0; > fprintf(stderr, "Thrift: %s %s\n", dbgtime, msg); > } > > The original implementation uses char dbgtime[25] and ctime requires > at least 26 bytes in the buffer. If you've recently updated libc it > might detect this as a stack smashing and crash the binary. Not sure > if that's your case but let's try and see if it works. > > Mateusz > > On Sun, May 24, 2009 at 8:06 PM, ualtinok <[email protected]> wrote: > > > I pulled the latest code: > > > commit be43a2cc74e8a85aa7a8fb4dc2db1c9d6fe31e47 > > Author: Doug Judd <[email protected]> > > Date: Fri May 22 11:20:22 2009 -0700 > > > I also pulled the thrift snapshot you > > uploaded:http://www.hypertable.org/pub/thrift.tgz > > to be in sync however regression tests fails because ThriftBroker > > can't start. > > > ... > > DFS broker: available file descriptors: 1024 > > Successfully started DFSBroker (local) > > Successfully started Hyperspace > > Successfully started Hypertable.Master > > Successfully started Hypertable.RangeServer > > Thrift: Sun May 24 20:50:30 2009 TSocket::read() recv() <Host: > > localhost Port: 38080>Connection reset by peer > > Waiting for ThriftBroker to come up ... > > Waiting for ThriftBroker to come up ... > > Waiting for ThriftBroker to come up ... > > ERROR: ThriftBroker did not come up > > Error starting ThriftBroker > > Built target runtestservers > > ... > > > If i try to run it via sh script: > > > # ./start-thriftbroker.sh > > Thrift: Sun May 24 21:02:13 2009 TSocket::read() recv() <Host: > > localhost Port: 38080>Connection reset by peer > > Waiting for ThriftBroker to come up ... > > Waiting for ThriftBroker to come up ... > > Waiting for ThriftBroker to come up ... > > ERROR: ThriftBroker did not come up > > > Direct execute from binary: > > > ./ThriftBroker > > 1243199059 INFO ThriftBroker : (/setups/hypertable/src/cc/ThriftBroker/ > > ThriftBroker.cc:742) Starting the server... > > Thrift: Sun May 24 21:04:19 2009 TServerSocket::listen() IPV6_V6ONLY > > Thrift: Sun May 24 21:04:19 2009 libevent 1.1a method epoll > > > ThriftBroker in 0.9.2.3 was working with the same setup: > > Centos 5.2 x64 > > > Ufuk --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
