Ah yeah sorry, the method is not exposed and casting HMI to HM will surely fail since it's a proxy. Maybe this is a feature we can expose in HBaseAdmin, I guess it would be cleaner. BTW, what's your need exactly? Are you build some kind of custom management interface?
thx J-D On Sun, Aug 17, 2008 at 4:39 AM, <[EMAIL PROTECTED]> wrote: > thanks , J-D. > b.t.w, getMaster() returns an HMasterInterface, which I am forced to cast > to HMaster to get that functionality. Is it solid to assume I can always do > this cast ? > Yoav. > > Jean-Daniel Cryans wrote: > > > > Yoav, > > > > HBaseAdmin.getMaster().getServersToServerInfo() > > > > J-D > > > > On Thu, Aug 14, 2008 at 8:44 AM, yoav.morag <[EMAIL PROTECTED]> wrote: > > > >> > >> hi guys > >> does anyone knows how I can query hbase (or hadoop) for the number of > >> physical data nodes (slaves) ? > >> Yoav. > >> -- > >> View this message in context: > >> > http://www.nabble.com/query-number-of-data-nodes-tp18980802p18980802.html > >> Sent from the HBase User mailing list archive at Nabble.com. > >> > >> > > > > > Quoted from: > http://www.nabble.com/query-number-of-data-nodes-tp18980802p18981558.html > >
