You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2019/02/15 19:17:37 UTC

[hadoop] branch docker-hadoop-runner updated: HDDS-1117. Add async profiler to the hadoop-runner base container image. Contributed by Elek, Marton.

This is an automated email from the ASF dual-hosted git repository.

aengineer pushed a commit to branch docker-hadoop-runner
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/docker-hadoop-runner by this push:
     new 41dc49c  HDDS-1117. Add async profiler to the hadoop-runner base container image. Contributed by Elek, Marton.
41dc49c is described below

commit 41dc49c312ac8c2d72a4d5e2dfee5f35f4d3bd8c
Author: Anu Engineer <ae...@apache.org>
AuthorDate: Fri Feb 15 11:16:33 2019 -0800

    HDDS-1117. Add async profiler to the hadoop-runner base container image.
    Contributed by Elek, Marton.
---
 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 1ecf73e..ec96d80 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,6 +23,9 @@ RUN chmod +x /usr/local/bin/dumb-init
 RUN mkdir -p /etc/security/keytabs && chmod -R a+wr /etc/security/keytabs 
 ADD https://repo.maven.apache.org/maven2/org/jboss/byteman/byteman/4.0.4/byteman-4.0.4.jar /opt/byteman.jar
 RUN chmod o+r /opt/byteman.jar
+RUN mkdir -p /opt/profiler && \
+    cd /opt/profiler && \
+    curl -L https://github.com/jvm-profiling-tools/async-profiler/releases/download/v1.5/async-profiler-1.5-linux-x64.tar.gz | tar xvz
 ENV JAVA_HOME=/usr/lib/jvm/jre/
 ENV PATH $PATH:/opt/hadoop/bin
 


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