hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] elek opened a new pull request #491: HDDS-1116. Add java profiler servlet to the Ozone web servers
Date Fri, 15 Feb 2019 14:42:49 GMT
elek opened a new pull request #491: HDDS-1116. Add java profiler servlet to the Ozone web
servers
URL: https://github.com/apache/hadoop/pull/491
 
 
   Thanks to [~gopalv] we learned that [~prasanth_j] implemented a helper servlet in Hive
to initialize new [async profiler|https://github.com/jvm-profiling-tools/async-profiler] sessions
and provide the svg based flame graph over HTTP. (see HIVE-20202)
   
   It seems to very useful as with this approach the profiling could be very easy.
   
   This patch imports the servlet from the Hive code base to the Ozone code base with minor
modification (to make it work with our servlet containers)
   
    * The two servlets are unified to one
    * Streaming the svg to the browser based on IOUtils.copy 
    * Output message is improved
   
   By default the profile servlet is turned off, but you can enable it with 'hdds.profiler.endpoint.enabled=true'
ozone-site.xml settings. In that case you can access the /prof endpoint from scm,om,s3g. 
   
   You should upload the async profiler first (https://github.com/jvm-profiling-tools/async-profiler)
and set the ASYNC_PROFILER_HOME environment variable to find it. 
   
   See: https://issues.apache.org/jira/browse/HDDS-1116

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


Mime
View raw message