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

Thomas Graves commented on MAPREDUCE-3021:
------------------------------------------

The test failures are because the directories webapps/node are missing.  Note 
they are in the patch but I'm assuming it didn't get created properly here.  
Whoever checks this in make sure the following directories and files are 
created.  The .keep are empty files to make it create the webapps directories 
in the build.  This is how it was done for the /yarn directory so did the same.

A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/cluster
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/cluster/.keep
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/node
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/node/.keep
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/mapreduce
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/mapreduce/.keep
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/jobhistory
A      
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/jobhistory/.keep

> all yarn webapps use same base name of "yarn/"
> ----------------------------------------------
>
>                 Key: MAPREDUCE-3021
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3021
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3021.patch, MAPREDUCE-3021.patch
>
>
> All of the yarn webapps (resource manager, node manager, app master, job 
> history) use the same base url of /yarn/.  This doesn't lend itself very well 
> to filters be able to differentiate them to say allow some to be not 
> authenticated and other to be authenticated.  Perhaps we should rename them 
> based on component.
> There are also things in the code that hardcode paths to "/yarn" that should 
> be fixed up.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to