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

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

Elek, Marton created HADOOP-15656:
-------------------------------------

             Summary: 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


[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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org