You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/03/20 05:41:00 UTC

[jira] [Assigned] (HBASE-25685) asyncprofiler2.0 no longer supports svg; wants html

     [ https://issues.apache.org/jira/browse/HBASE-25685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang reassigned HBASE-25685:
---------------------------------------

    Assignee: Wei-Chiu Chuang

> asyncprofiler2.0 no longer supports svg; wants html
> ---------------------------------------------------
>
>                 Key: HBASE-25685
>                 URL: https://issues.apache.org/jira/browse/HBASE-25685
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Michael Stack
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>
> asyncprofiler2.0 is out. Its a nice tool. Unfortunately, it dropped the svg formatting option that we use in our servlet. Now it wants you  to pass html. Lets fix.
> Old -o on asyncprofiler1.x
> -o fmt            output format: summary|traces|flat|collapsed|svg|tree|jfr
> New -o asyncprofiler 2.x
> -o fmt            output format: flat|traces|collapsed|flamegraph|tree|jfr
> If you pass svg to 2.0, it does nothing ... If you run the command hbase is running you see:
> {code}
> /tmp/prof-output$ sudo -u hbase /usr/lib/async-profiler/profiler.sh -e cpu -d 10 -o svg -f /tmp/prof-output/async-prof-pid-8346-cpu-1x.svg 8346
> [ERROR] SVG format is obsolete, use .html for FlameGraph
> {code}
> At a minimum can make it so the OUTPUT param supports HTML. Here is current enum state:
> {code}
>   enum Output {
>     SUMMARY,
>     TRACES,
>     FLAT,
>     COLLAPSED,
>     SVG,
>     TREE,
>     JFR
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)