[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to