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

Senthil V Kumar commented on MAPREDUCE-2993:
--------------------------------------------

In the HamletSpec.java, I see that elements including td, tfoot, li, th have 
@Element(endTag=false) annotation. Is this done purposefully?
                
> Hamlet HTML elements are not closed properly. Every element should have 
> proper end tag.
> ---------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2993
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2993
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Abhijit Suresh Shingate
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Execute 
> org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebApp.testNodesPage()
> Verify the output on the console.
> {code:xml} 
>  <table id="layout" class="ui-widget-content">
>     <thead>
>       <tr>
>         <td colspan="2">
>           <div id="header" class="ui-widget">
>             <div id="user">
>               Logged in as: null
>             </div>
>             <div id="logo">
>               <img src="/static/hadoop-st.png">
>             </div>
>             <h1>
>               Nodes of the cluster
>             </h1>
>           </div>
>     <tfoot>
>       <tr>
>         <td colspan="2">
>           <div id="footer" class="ui-widget">
>             <a href="http://hadoop.apache.org/";>About Apache Hadoop</a>
>           </div>
>     <tbody>
>       <tr>
>         <td id="navcell">
>           <div id="nav">
>             <h3>
>               Cluster
>             </h3>
>             <ul>
>               <li>
>                 <a href="/null/cluster">About</a>
>               <li>
>                 <a href="/null/nodes">Nodes</a>
>               <li>
>                 <a href="/null/apps">Applications</a>
>               <li>
>                 <a href="/null/scheduler">Scheduler</a>
>             </ul>
>             <h3>
>               Tools
>             </h3>
>             <ul>
>               <li>
>                 <a href="/conf">Configuration</a>
>               <li>
>                 <a href="/logs">Local logs</a>
>               <li>
>                 <a href="/stacks">Server stacks</a>
>               <li>
>                 <a href="/metrics">Server metrics</a>
>             </ul>
>           </div>
>           <div id="themeswitcher">
>           </div>
>         <td class="content">
>           <table id="nodes">
>             <thead>
>               <tr>
>                 <th class="rack">
>                   Rack
>                 <th class="nodeaddress">
>                   Node Address
>                 <th class="nodehttpaddress">
>                   Node HTTP Address
>                 <th class="healthStatus">
>                   Health-status
>                 <th class="lastHealthUpdate">
>                   Last health-update
>                 <th class="healthReport">
>                   Health-report
>                 <th class="containers">
>                   Containers
>             <tbody>
>               <tr>
>                 <td>
>                   rack0
>                 <td>
>                   host0:123
>                 <td>
>                   <a href="http://localhost:0";>localhost:0</a>
>                 <td>
>                   Unhealthy
>                 <td>
>                   N/A
>                 <td>
>                   null
>               <tr>
>                 <td>
>                   rack0
>                 <td>
>                   host1:123
>                 <td>
>                   <a href="http://localhost:0";>localhost:0</a>
>                 <td>
>                   Unhealthy
>                 <td>
>                   N/A
>                 <td>
>                   null
>             </tbody>
>           </table>
>     </tbody>
>   </table>
> </html>
> {code} 
> Many html elements does not have end tag.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to