Thanks, Hiroyuki. It's great to hear from you. I'll apply it straight away.
- Doug On Thu, Jan 29, 2009 at 4:48 AM, Hiroyuki Uchiyama <[email protected] > wrote: > > Hi all, > > I found an problem caused by invalid initializations of rssstat. > The following is a small patch for this problem. > > diff --git a/src/cc/Tools/rsstat/rsstat.cc b/src/cc/Tools/rsstat/rsstat.cc > index cbbb444..14f0fb3 100644 > --- a/src/cc/Tools/rsstat/rsstat.cc > +++ b/src/cc/Tools/rsstat/rsstat.cc > @@ -52,10 +52,17 @@ extern "C" { > using namespace Hypertable; > using namespace Config; > > +typedef Meta::list<RangeServerClientPolicy, DefaultCommPolicy> Policies; > + > int main(int argc, char **argv) { > - typedef Cons<RangeServerClientPolicy, DefaultCommPolicy> AppPolicy; > > try { > + String name="rsstat"; > + Logger::initialize(name); > + > + init_with_policies<Policies>(argc, argv); > + > + ReactorFactory::initialize(1); > Comm *comm = Comm::instance(); > ConnectionManagerPtr conn_mgr = new ConnectionManager(comm); > InetAddr addr(get_str("rs-host"), get_i16("rs-port")); > > Regards, > > Hiroyuki Uchiyama > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
