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

Steve Loughran commented on HADOOP-6461:
----------------------------------------

I might be seeing this, though its confusing because embedded use can be a bit 
quirky.

# the changes to the test global filter should be enough to test the method 
working, as that testServletFilter() test would now fail if there isn't a 
webapps/test resource
# need one more test that triest to create an HttpServer instance for which 
there isn't a name, check that the right exception got thrown.
# This would be aided if the getWebappsPath(String) method threw a 
FileNotFoundException when the file was missing; It is technically a missing 
file, and the proposed test would be able to look for that exception only (any 
other IOE would be a failure of the test)



> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If 
> you then try to launch the NN for example using 
> HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath 
> locates the empty common webapps dir, and the NN web UI fails to load.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to