hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15912) start-build-env.sh still creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry after HADOOP-15802
Date Thu, 08 Nov 2018 06:14:00 GMT

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

Akira Ajisaka commented on HADOOP-15912:
----------------------------------------

In my environment (CentOS 7.5), replacing echo with /bin/echo worked.

echo -e option is very platform specific, so I want to replace the tab character with whitespace
and remove -e option.

> start-build-env.sh still creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file
entry after HADOOP-15802
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15912
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15912
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Akira Ajisaka
>            Priority: Major
>
> {noformat}
> RUN echo -e "${USER_NAME}\tALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}"
> {noformat}
> creates
> {noformat}
> -e <USER_NAME>	ALL=NOPASSWD: ALL
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message