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

Allen Wittenauer commented on HADOOP-9902:
------------------------------------------

Ran across an interesting discrepancy. hadoop-env.sh says:

{code}
# A string representing this instance of hadoop. $USER by default.
export HADOOP_IDENT_STRING=$USER
{code}

This implies that could be something that isn't a user.  However...

{code}
  chown $HADOOP_IDENT_STRING $HADOOP_LOG_DIR
{code}

... we clearly have that assumption.  Since the chown has already been removed 
from the new code, this problem goes away.  But should we explicitly state that 
HADOOP_IDENT_STRING needs to be a user?  Is anyone aware of anything else that 
uses this outside of the Hadoop shell scripts?

> Shell script rewrite
> --------------------
>
>                 Key: HADOOP-9902
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9902
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.0.0, 2.1.1-beta
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-9902.txt, hadoop-9902-1.patch, more-info.txt
>
>
> Umbrella JIRA for shell script rewrite.  See more-info.txt for more details.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to