[
https://issues.apache.org/jira/browse/HDFS-2818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190458#comment-13190458
]
Devaraj K commented on HDFS-2818:
---------------------------------
After translating the jsp into servlet, the code looks like this. It is
splitting these two expressions into two out.print() statements and causing to
miss the space between them.
\\
{code:xml}
out.write("<!DOCTYPE html>\n<html>\n\n<link rel=\"stylesheet\"
type=\"text/css\" href=\"/static/hadoop.css\">\n<title>Hadoop ");
out.print(namenodeRole);
out.print(namenodeLabel);
out.write("</title>\n \n<body>\n<h1>");
out.print(namenodeRole);
out.write(' ');
out.write('\'');
out.print(namenodeLabel);
out.write("'</h1>\n");
{code}
> dfshealth.jsp missing space between role and node name
> ------------------------------------------------------
>
> Key: HDFS-2818
> URL: https://issues.apache.org/jira/browse/HDFS-2818
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Priority: Trivial
> Labels: newbie
> Attachments: HDFS-2818.patch
>
>
> There seems to be a missing space in the titles of our webpages. EG:
> <title>Hadoop NameNodestyx01.sf.cloudera.com:8021</title>. It seems like the
> JSP compiler is doing something to the space which is in the .jsp. Probably a
> simple fix if you know something about JSP :)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira