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

Chris Nauroth commented on HADOOP-11485:
----------------------------------------

I think v03 has some issues with usage of {{hadoop_translate_cygwin_path}} in 
shellprofile.d/yarn:

{code}
  hadoop_translate_cygwin_path "${yld}"
{code}

Inside {{hadoop_translate_cygwin_path}}, the argument is part of an {{eval}} 
for setting (possibly changing) the variable value, so instead of expanding the 
variable's value at the call site, we just need to pass through the variable 
name:

{code}
  hadoop_translate_cygwin_path yld
{code}

Also, I think I see a typo, defining variable {{yhd}}, but then trying to use 
{{ygd}}:

{code}
  local yhd=$HADOOP_YARN_HOME
  hadoop_translate_cygwin_path "${ygd}"
{code}


> Pluggable shell integration
> ---------------------------
>
>                 Key: HADOOP-11485
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11485
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: scripts
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>              Labels: scripts, shell
>         Attachments: HADOOP-11485-00.patch, HADOOP-11485-01.patch, 
> HADOOP-11485-02.patch, HADOOP-11485-03.patch
>
>
> It would be useful to provide a way for core and non-core Hadoop components 
> to plug into the shell infrastructure.  This would allow us to pull the HDFS, 
> MapReduce, and YARN shell functions out of hadoop-functions.sh.  
> Additionally, it should let 3rd parties such as HBase influence things like 
> classpaths at runtime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to