You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Luca Toscano (Jira)" <ji...@apache.org> on 2020/11/06 18:45:00 UTC

[jira] [Commented] (BIGTOP-3442) Debian based slave Docker images don't have mvn in the $PATH

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

Luca Toscano commented on BIGTOP-3442:
--------------------------------------

Ah it seemsĀ /etc/profile.d/bigtop.sh fromĀ bigtop_toolchain::env, seems correctly added to the Docker images but the root user doesn't pick it up, will keep looking.

> Debian based slave Docker images don't have mvn in the $PATH
> ------------------------------------------------------------
>
>                 Key: BIGTOP-3442
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3442
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Luca Toscano
>            Priority: Minor
>
> While testing the Debian 9 and 10 Docker images for trunk, I noticed the following:
> {code:java}
> root@a98816b6dbc5:/# echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> root@a98816b6dbc5:/# mvn
> bash: mvn: command not found{code}
> Meanwhile, the centos-8 one:
> {code:java}
> [root@91e465b8431f /]# echo $PATH
> /usr/local/maven/bin:/usr/local/ant/bin:/usr/local/gradle/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> [root@91e465b8431f /]# which mvn
> /usr/local/maven/bin/mvn{code}
> There are also ant/gradle/etc.. missing in the Debian ones. Tried to debug it but didn't find the issue yet :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)