hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-5171) Add tests for the DFS HTML and JSP pages
Date Wed, 04 Feb 2009 23:29:02 GMT
Add tests for the DFS HTML and JSP pages
----------------------------------------

                 Key: HADOOP-5171
                 URL: https://issues.apache.org/jira/browse/HADOOP-5171
             Project: Hadoop Core
          Issue Type: Test
          Components: fs, mapred
    Affects Versions: 0.21.0
            Reporter: Steve Loughran
            Assignee: Steve Loughran
            Priority: Minor


Add some basic tests to look for the standard JSP pages on a locally deployed MiniMR cluster

1. namenode: check that dfshealth is present
2. datanode: check that all the datanode JSPs load
3. GET the standard servlets.

The initial checks can just use httpclient to GET the pages; no need (yet) for HtmlUnit. 

If the tests were designed to take optional URLs  (e.g test.namenode.url and test.datanode.url)
they could be run against processes brought up externally/remotely

They would
* help test that the JSP pages are being compiled down and bundled into the JARS
* verify the classpath is getting set up right
* check that the Jasper engine is working
* check the servlets are all registering

I've effectively had to do this in my own code; having a set of these tests inside hadoop
would make it easier to point the blame at the classpath setup or something else. 

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


Mime
View raw message