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 2018/11/08 06:14:00 UTC
[jira] [Commented] (HADOOP-15912) start-build-env.sh still creates
an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry after
HADOOP-15802
[ 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