[ 
https://issues.apache.org/jira/browse/HBASE-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800803#action_12800803
 ] 

Lars Francke commented on HBASE-2110:
-------------------------------------

It is definitely the MIME type that is causing the problem so I checked why the 
HDFS interface works and saw that its CSS was served as text/html, too.

HBase on Firefox: Error: The stylesheet 
http://192.168.1.23:60010/static/hbase.css was not loaded because its MIME 
type, "text/html", is not "text/css".
HDFS on Firefox: Warning: The stylesheet 
http://192.168.1.23:50070/static/hadoop.css was loaded as CSS even though its 
MIME type, "text/html", is not "text/css".

The difference: HBase is rendered in standards mode because of the DOCTYPE, 
HDFS is rendered in Quirks mode because it doesn't define a DOCTYPE. Once I 
removed it from the JSP everything worked again. I don't consider that the fix 
though. I'll open a ticket for Hadoop to send the correct MIME type for CSS 
files and link it to this one (as a side effect of this I've fixed the JSP to 
comply to XHTML, I suppose I should open a new ticket for that?).

My guess would be that you probably noticed this first when Ivy was introduced 
because new snapshots of the Hadoop dependencies were pulled.

> Move to ivy broke our finding stylesheet (Tables don't have blue lines around 
> them any more).
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2110
>                 URL: https://issues.apache.org/jira/browse/HBASE-2110
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.21.0
>
>
> Move to ivy broke pulling in hbase.css from the static webapp; investigate.

-- 
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