[ 
https://issues.apache.org/jira/browse/HADOOP-18055?focusedWorklogId=700071&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-700071
 ]

ASF GitHub Bot logged work on HADOOP-18055:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Dec/21 15:19
            Start Date: 22/Dec/21 15:19
    Worklog Time Spent: 10m 
      Work Description: virajjasani opened a new pull request #3824:
URL: https://github.com/apache/hadoop/pull/3824


   ### Description of PR
   Async profiler (https://github.com/jvm-profiling-tools/async-profiler) is a 
low overhead sampling profiler for Java that does not suffer from Safepoint 
bias problem. It features HotSpot-specific APIs to collect stack traces and to 
track memory allocations. The profiler works with OpenJDK, Oracle JDK and other 
Java runtimes based on the HotSpot JVM.
   Async profiler can also profile heap allocations, lock contention, and HW 
performance counters in addition to CPU.
   
   This PR provides Async profiler endpoint for Hadoop daemons.
   
   
   ### How was this patch tested?
   Locally. Screenshots:
   <img width="1783" alt="Screenshot 2021-12-22 at 6 54 07 PM" 
src="https://user-images.githubusercontent.com/34790606/147114605-b38d67c7-c3ae-4f90-9288-b1869ce219b4.png";>
   
   <img width="1604" alt="Screenshot 2021-12-22 at 6 55 00 PM" 
src="https://user-images.githubusercontent.com/34790606/147114629-72a25b53-183e-4aee-9c94-6a87a555180b.png";>
   
   <img width="942" alt="Screenshot 2021-12-22 at 6 55 44 PM" 
src="https://user-images.githubusercontent.com/34790606/147114631-e6cd52ea-27a0-4dc4-b6ff-2aee59e08db0.png";>
   
   <img width="1092" alt="Screenshot 2021-12-22 at 6 56 44 PM" 
src="https://user-images.githubusercontent.com/34790606/147114634-cecaa9d4-a030-4e07-a675-05c76ec02724.png";>
   
   <img width="1078" alt="Screenshot 2021-12-22 at 6 57 45 PM" 
src="https://user-images.githubusercontent.com/34790606/147114636-62957b33-511a-4304-bbb8-90a1f78d4451.png";>
   
   <img width="1507" alt="Screenshot 2021-12-22 at 6 58 57 PM" 
src="https://user-images.githubusercontent.com/34790606/147114639-de655ebf-d425-4bba-9e93-7a8fa4d33bda.png";>
   
   <img width="1161" alt="Screenshot 2021-12-22 at 6 59 34 PM" 
src="https://user-images.githubusercontent.com/34790606/147114645-04a04a18-bd0a-41ec-93da-c788d4525eb1.png";>
   
   <img width="1601" alt="Screenshot 2021-12-22 at 7 01 49 PM" 
src="https://user-images.githubusercontent.com/34790606/147114647-e376dbf8-b76d-4bf4-8e40-eb4015bc3bf1.png";>
   
   <img width="1054" alt="Screenshot 2021-12-22 at 7 02 59 PM" 
src="https://user-images.githubusercontent.com/34790606/147114649-0b9f1ff0-54d1-46fa-a354-e393eae255e4.png";>
   
   <img width="1607" alt="Screenshot 2021-12-22 at 7 03 15 PM" 
src="https://user-images.githubusercontent.com/34790606/147114651-ea424b5c-e934-419a-82b1-03fb6a634897.png";>
   
   <img width="1647" alt="Screenshot 2021-12-22 at 7 04 01 PM" 
src="https://user-images.githubusercontent.com/34790606/147114653-e54b938b-1db0-44b5-a907-c47e2c91bf83.png";>
   
   <img width="1055" alt="Screenshot 2021-12-22 at 7 07 09 PM" 
src="https://user-images.githubusercontent.com/34790606/147114654-39b20130-7fa5-4d8a-8e8f-62e8e6f44613.png";>
   
   <img width="1584" alt="Screenshot 2021-12-22 at 7 07 41 PM" 
src="https://user-images.githubusercontent.com/34790606/147114657-de708ab4-88ab-48d8-b083-13c7a2999455.png";>
   
   <img width="691" alt="Screenshot 2021-12-22 at 7 37 16 PM" 
src="https://user-images.githubusercontent.com/34790606/147114663-a975feba-4325-4137-81a1-4b013254dd35.png";>
   
   
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 700071)
    Remaining Estimate: 0h
            Time Spent: 10m

> Async Profiler endpoint for Hadoop daemons
> ------------------------------------------
>
>                 Key: HADOOP-18055
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18055
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Async profiler ([https://github.com/jvm-profiling-tools/async-profiler]) is a 
> low overhead sampling profiler for Java that does not suffer from Safepoint 
> bias problem. It features HotSpot-specific APIs to collect stack traces and 
> to track memory allocations. The profiler works with OpenJDK, Oracle JDK and 
> other Java runtimes based on the HotSpot JVM.
> Async profiler can also profile heap allocations, lock contention, and HW 
> performance counters in addition to CPU.
> We have an httpserver based servlet stack hence we can use HIVE-20202 as an 
> implementation template to provide async profiler as servlet for Hadoop 
> daemons. Ideally we achieve these requirements:
>  * Retrieve flamegraph SVG generated from latest profile trace.
>  * Online enable and disable of profiling activity. (async-profiler does not 
> do instrumentation based profiling so this should not cause the code gen 
> related perf problems of that other approach and can be safely toggled on and 
> off while under production load.)
>  * CPU profiling.
>  * ALLOCATION profiling.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to