--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
One very easy thing you can do for anything that runs in hadoop (or the jvm for that matter) is to turn on xrpof.I'm sure there's better docs for it, but here's a short slide on how to do it in hadoop:It'll print profiling info into your mapper / reducer stdout logs, and it has so little impact on performance you can just leave it on all the time. It only tells you where time is being spent, it won't tell you the full call stack. So it can tell you you're spending lots of time in method X but not who called method X.
On Thu, Jun 21, 2018 at 3:28 PM, Jing Lu <aji...@gmail.com> wrote:
Hey,Is there any easy way to profile code with scalding?Thanks,Jing
--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alex Levenson@THISWILLWORK
Awesome, thanks!
On Thu, Jun 21, 2018 at 3:57 PM Alex Levenson <alexle...@twitter.com> wrote:
One very easy thing you can do for anything that runs in hadoop (or the jvm for that matter) is to turn on xrpof.I'm sure there's better docs for it, but here's a short slide on how to do it in hadoop:It'll print profiling info into your mapper / reducer stdout logs, and it has so little impact on performance you can just leave it on all the time. It only tells you where time is being spent, it won't tell you the full call stack. So it can tell you you're spending lots of time in method X but not who called method X.
On Thu, Jun 21, 2018 at 3:28 PM, Jing Lu <aji...@gmail.com> wrote:
Hey,Is there any easy way to profile code with scalding?Thanks,Jing
--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alex Levenson@THISWILLWORK
I spelled "xprof" wrong in my email. It's a flag to the jvm you can enable "-Xprof" but the slides show how to configure it via hadoop configuration. The next few slides show what the output looks like.
On Thu, Jun 21, 2018 at 4:04 PM, Jing Lu <aji...@gmail.com> wrote:
Awesome, thanks!
On Thu, Jun 21, 2018 at 3:57 PM Alex Levenson <alexle...@twitter.com> wrote:
One very easy thing you can do for anything that runs in hadoop (or the jvm for that matter) is to turn on xrpof.I'm sure there's better docs for it, but here's a short slide on how to do it in hadoop:It'll print profiling info into your mapper / reducer stdout logs, and it has so little impact on performance you can just leave it on all the time. It only tells you where time is being spent, it won't tell you the full call stack. So it can tell you you're spending lots of time in method X but not who called method X.
On Thu, Jun 21, 2018 at 3:28 PM, Jing Lu <aji...@gmail.com> wrote:
Hey,Is there any easy way to profile code with scalding?Thanks,Jing
--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alex Levenson@THISWILLWORK--Alex Levenson@THISWILLWORK
Thanks! Is there any way to know what higher level functions are not efficient?
On Thu, Jun 21, 2018 at 4:11 PM Alex Levenson <alexle...@twitter.com> wrote:
I spelled "xprof" wrong in my email. It's a flag to the jvm you can enable "-Xprof" but the slides show how to configure it via hadoop configuration. The next few slides show what the output looks like.
On Thu, Jun 21, 2018 at 4:04 PM, Jing Lu <aji...@gmail.com> wrote:
Awesome, thanks!
On Thu, Jun 21, 2018 at 3:57 PM Alex Levenson <alexle...@twitter.com> wrote:
One very easy thing you can do for anything that runs in hadoop (or the jvm for that matter) is to turn on xrpof.I'm sure there's better docs for it, but here's a short slide on how to do it in hadoop:It'll print profiling info into your mapper / reducer stdout logs, and it has so little impact on performance you can just leave it on all the time. It only tells you where time is being spent, it won't tell you the full call stack. So it can tell you you're spending lots of time in method X but not who called method X.
On Thu, Jun 21, 2018 at 3:28 PM, Jing Lu <aji...@gmail.com> wrote:
Hey,Is there any easy way to profile code with scalding?Thanks,Jing
--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alex Levenson@THISWILLWORK--Alex Levenson@THISWILLWORK
Awesome, thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alex Levenson@THISWILLWORK--Alex Levenson@THISWILLWORK--Alex Levenson@THISWILLWORK
Awesome, thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alex Levenson@THISWILLWORK--Alex Levenson@THISWILLWORK--Alex Levenson@THISWILLWORK
--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--Sent from my phone
--
You received this message because you are subscribed to the Google Groups "Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalding-dev+unsubscribe@googlegroups.com.