You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Jean-Marc Spaggiari <je...@spaggiari.org> on 2019/06/03 13:15:00 UTC
Flame Graphs
Hi all,
Not sure it's the right plateform, but can someone explain me how flame
graphs (Like the one here)
https://issues.apache.org/jira/browse/HBASE-22532 are
generated?
Thanks,
JMS
Re: Flame Graphs
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
That's absolutely awesome and super useful! Thanks a lot for sharing!
JMS
Le lun. 3 juin 2019 à 09:34, OpenInx <op...@gmail.com> a écrit :
> There's also a doc here: http://hbase.apache.org/book.html#profiler
> Thanks.
>
> On Mon, Jun 3, 2019 at 9:25 PM OpenInx <op...@gmail.com> wrote:
>
> > Hi :
> >
> > In HBASE-21926, Andrew introduced the great profile tool (async-profiler
> > ) into our HBase.
> > It's very easy to use this:
> > 1. you need to download the binary of async-profier from here:
> > https://github.com/jvm-profiling-tools/async-profiler
> > 2. then you need to set a java option which point to the home of
> > async-profiler lib, here I set:
> > -Dasync.profiler.home=/home/work/soft
> > because my async-profiler is under here:
> >
> > [work@soft]$ pwd
> > /home/work/soft
> > [work@soft]$ tree
> > .
> > ├── async-profiler-1.5-linux-x64.tar.gz
> > ├── build
> > │ ├── async-profiler.jar
> > │ ├── jattach
> > │ └── libasyncProfiler.so
> > ├── CHANGELOG.md
> > ├── LICENSE
> > ├── profiler.sh
> > └── README.md
> >
> > 1 directory, 8 files
> >
> > 3. finally, you can need restart the RS and click the [profier] tab in RS
> > web UI, then you will see the flame graph.
> >
> > You can also see the java doc for more details:
> >
> >
> https://github.com/apache/hbase/blob/858d30dd30159de70ac62d44c0ee0278708f2dec/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
> >
> > Thanks.
> >
> > On Mon, Jun 3, 2019 at 9:15 PM Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org> wrote:
> >
> >> Hi all,
> >>
> >> Not sure it's the right plateform, but can someone explain me how flame
> >> graphs (Like the one here)
> >> https://issues.apache.org/jira/browse/HBASE-22532 are
> >> generated?
> >>
> >> Thanks,
> >>
> >> JMS
> >>
> >
>
Re: Flame Graphs
Posted by OpenInx <op...@gmail.com>.
There's also a doc here: http://hbase.apache.org/book.html#profiler
Thanks.
On Mon, Jun 3, 2019 at 9:25 PM OpenInx <op...@gmail.com> wrote:
> Hi :
>
> In HBASE-21926, Andrew introduced the great profile tool (async-profiler
> ) into our HBase.
> It's very easy to use this:
> 1. you need to download the binary of async-profier from here:
> https://github.com/jvm-profiling-tools/async-profiler
> 2. then you need to set a java option which point to the home of
> async-profiler lib, here I set:
> -Dasync.profiler.home=/home/work/soft
> because my async-profiler is under here:
>
> [work@soft]$ pwd
> /home/work/soft
> [work@soft]$ tree
> .
> ├── async-profiler-1.5-linux-x64.tar.gz
> ├── build
> │ ├── async-profiler.jar
> │ ├── jattach
> │ └── libasyncProfiler.so
> ├── CHANGELOG.md
> ├── LICENSE
> ├── profiler.sh
> └── README.md
>
> 1 directory, 8 files
>
> 3. finally, you can need restart the RS and click the [profier] tab in RS
> web UI, then you will see the flame graph.
>
> You can also see the java doc for more details:
>
> https://github.com/apache/hbase/blob/858d30dd30159de70ac62d44c0ee0278708f2dec/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
>
> Thanks.
>
> On Mon, Jun 3, 2019 at 9:15 PM Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
>> Hi all,
>>
>> Not sure it's the right plateform, but can someone explain me how flame
>> graphs (Like the one here)
>> https://issues.apache.org/jira/browse/HBASE-22532 are
>> generated?
>>
>> Thanks,
>>
>> JMS
>>
>
Re: Flame Graphs
Posted by OpenInx <op...@gmail.com>.
Hi :
In HBASE-21926, Andrew introduced the great profile tool (async-profiler )
into our HBase.
It's very easy to use this:
1. you need to download the binary of async-profier from here:
https://github.com/jvm-profiling-tools/async-profiler
2. then you need to set a java option which point to the home of
async-profiler lib, here I set:
-Dasync.profiler.home=/home/work/soft
because my async-profiler is under here:
[work@soft]$ pwd
/home/work/soft
[work@soft]$ tree
.
├── async-profiler-1.5-linux-x64.tar.gz
├── build
│ ├── async-profiler.jar
│ ├── jattach
│ └── libasyncProfiler.so
├── CHANGELOG.md
├── LICENSE
├── profiler.sh
└── README.md
1 directory, 8 files
3. finally, you can need restart the RS and click the [profier] tab in RS
web UI, then you will see the flame graph.
You can also see the java doc for more details:
https://github.com/apache/hbase/blob/858d30dd30159de70ac62d44c0ee0278708f2dec/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
Thanks.
On Mon, Jun 3, 2019 at 9:15 PM Jean-Marc Spaggiari <je...@spaggiari.org>
wrote:
> Hi all,
>
> Not sure it's the right plateform, but can someone explain me how flame
> graphs (Like the one here)
> https://issues.apache.org/jira/browse/HBASE-22532 are
> generated?
>
> Thanks,
>
> JMS
>