You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/08/09 07:28:00 UTC

[jira] [Commented] (HADOOP-15656) Support byteman in hadoop-runner baseimage

    [ https://issues.apache.org/jira/browse/HADOOP-15656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574399#comment-16574399 ] 

Elek, Marton commented on HADOOP-15656:
---------------------------------------

I uploaded two screenshot about the example usage (printing out hadoop rpc traffic) to HDDS-342

> Support byteman in hadoop-runner baseimage
> ------------------------------------------
>
>                 Key: HADOOP-15656
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15656
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>         Attachments: HADOOP-15656-docker-hadoop-runner.001.patch
>
>
> [Byteman|http://byteman.jboss.org/] is an easy to use tool to instrument a java process with agent string.
> For example [this script|https://gist.githubusercontent.com/elek/0589a91b4d55afb228279f6c4f04a525/raw/8bb4e03de7397c8a9d9bb74a5ec80028b42575c4/hadoop.btm] defines a rule to print out all the hadoop rpc traffic to the standard output (which is extremely useful for testing development).
> This patch adds the byteman.jar to the baseimage and defines a simple logic to add agent instrumentation string to the HADOOP_OPTS (optional it also could download the byteman script from an url)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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