hadoop/dev-support/byteman
..
hadooprpc.btm
README.md

This folder contains example byteman scripts (http://byteman.jboss.org/) to help Hadoop debuging.

As the startup script of the hadoop-runner docker image supports byteman instrumentation it's enough to set the URL of a script to a specific environment variable to activate it with the docker runs:

BYTEMAN_SCRIPT_URL=https://raw.githubusercontent.com/apache/hadoop/trunk/dev-support/byteman/hadooprpc.btm

For more info see HADOOP-15656 and HDDS-342