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 "Akira Ajisaka (Jira)" <ji...@apache.org> on 2020/01/07 10:24:00 UTC

[jira] [Commented] (HADOOP-15539) Make start-build-env.sh usable in non-interactive mode

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

Akira Ajisaka commented on HADOOP-15539:
----------------------------------------

Hi [~elek], the detail: https://github.com/koalaman/shellcheck/wiki/SC2086
You have to surround the variable with double quotes.

> Make start-build-env.sh usable in non-interactive mode
> ------------------------------------------------------
>
>                 Key: HADOOP-15539
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15539
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.1.0
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Major
>         Attachments: HADOOP-15539.001.patch, HADOOP-15539.002.patch
>
>
> The current start-build-env.sh in the project root is useful to start a new build environment. But it's not possible to start the build environment and run the command in one step.
> We use the dockerized build environment on jenkins (https://builds.apache.org/job/Hadoop-trunk-ozone-acceptance/) which requires a small modification to optionally run start-build-env.sh in non-interactive mode and execute any command in the container.



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

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