Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase, mail # dev - RPC statistics from region servers...


+
Kannan Muthukkaruppan 2010-07-29, 02:29
+
Ted Yu 2010-07-29, 02:31
+
Kannan Muthukkaruppan 2010-07-29, 02:36
+
Ryan Rawson 2010-07-29, 03:21
+
Kannan Muthukkaruppan 2010-07-29, 03:32
+
Gary Helmling 2010-07-29, 08:07
Copy link to this message
-
RE: RPC statistics from region servers...
Kannan Muthukkaruppan 2010-07-29, 17:38
Gary,

Thanks for the detailed response. I'll check into all of these and report back.

Regards,
Kannan

-----Original Message-----
From: Gary Helmling [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 29, 2010 1:08 AM
To: [EMAIL PROTECTED]
Subject: Re: RPC statistics from region servers...

Hmm, this sounds like HBASE-2146.  That patch had added code to initialize
the RPC metrics MBean with a know list of RPC method names maintained in
HBaseRPC.Invocation.  That way all per-method metrics would show up on
server startup.  I believe that that method name mapping was later removed
though (it can make the RPC serialization brittle, complicating things like
rolling restarts), so maybe the patch that was applied to trunk was later
removed?

The MBean attributes for individual RPC methods _should_ be there after
there has been activity involving those requests against the cluster.  If
you start jconsole prior to the cluster activity however, I don't think the
MBean definition will update, so you'll need to restart jconsole for them to
show up.

In addition, you should make sure you're running with a metrics context with
an updater configured in
conf/hadoop-metrics.properties (NullContextWithUpdateThread, FileContext,
GangliaContext, etc).  And configure rpc.period with the update interval.
These metrics don't show up as live counters in JMX, they're only pushed out
to JMX during the periodic updates.

If you've already configured all of those conditions and the metrics _still_
aren't showing up, then let me know and I'll try to do some testing on trunk
tomorrow.

--gh
On Wed, Jul 28, 2010 at 8:32 PM, Kannan Muthukkaruppan
<[EMAIL PROTECTED]>wrote:

> > they don't exist until used?
>
> I was doing a whole bunch of puts & gets against the cluster during that
> time. That's what you mean, correct?
>
> Regards,
> Kannan
> -----Original Message-----
> From: Ryan Rawson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 28, 2010 8:21 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: RPC statistics from region servers...
>
> I think those are dynamic metrics... they don't exist until used?
>
> On Jul 28, 2010 7:30 PM, "Kannan Muthukkaruppan" <[EMAIL PROTECTED]>
> wrote:
> > I was using jconsole to check the stats published by region servers..
> >
> > Under hadoop.HBase.RPCStatistics-60020.Attributes, I only see:
> >
> > RpcQueueTime* (NumOps,AvgTime,MinTime,MaxTime)
> > and,
> > RPCProcessingTime* (NumOps,AvgTime,MinTime,MaxTime).
> >
> > I no longer see attributes like:
> > "incrementColumnValueNumOps "
> > "incrementColumnValueAvgTime "
> > "putNumOps "
> > "putAvgTime "
> > "getNumOps "
> > "getAvgTime "
> > "deleteNumOps "
> > "deleteAvgTime "
> > "openScannerNumOps "
> > "openScannerAvtTime "
> > "nextNumOps "
> > "nextAvgTime "
> > "closeNumOps "
> > "closeAvgTime "
> >
> > Anyone aware of what change happened in this area?
> >
> > regards,
> > Kannan
> >
> >
>
+
Kannan Muthukkaruppan 2010-07-29, 21:40
+
Kannan Muthukkaruppan 2010-07-29, 21:52
+
Kannan Muthukkaruppan 2010-07-29, 22:16
+
Gary Helmling 2010-07-29, 22:50
+
Ryan Rawson 2010-07-29, 22:54
+
Kannan Muthukkaruppan 2010-07-29, 23:17
+
Gary Helmling 2010-07-29, 23:39
+
KannanM@...) 2010-07-31, 11:38
+
Gary Helmling 2010-07-31, 16:01