hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9850) Issues with UI for table compact/split operation completion. After split/compaction operation using UI, the page is not automatically redirecting back using IE8/Firefox.
Date Wed, 13 Nov 2013 03:46:21 GMT

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

Hudson commented on HBASE-9850:
-------------------------------

SUCCESS: Integrated in HBase-0.94-security #334 (See [https://builds.apache.org/job/HBase-0.94-security/334/])
HBASE-9850 Issues with UI for table compact/split operation completion. After split/compaction
operation using UI, the page is not automatically redirecting back using IE8/Firefox. (stack:
rev 1540948)
* /hbase/branches/0.94/src/main/resources/hbase-webapps/master/snapshot.jsp
* /hbase/branches/0.94/src/main/resources/hbase-webapps/master/table.jsp


> Issues with UI for table compact/split operation completion. After split/compaction operation
using UI, the page is not automatically redirecting back using IE8/Firefox.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9850
>                 URL: https://issues.apache.org/jira/browse/HBASE-9850
>             Project: HBase
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 0.94.11
>            Reporter: Kashif J S
>            Assignee: Kashif J S
>             Fix For: 0.98.0, 0.96.1, 0.94.14
>
>         Attachments: HBASE-9850-0.94.14.patch, HBASE-9850-trunk.patch, HBASE-9850.patch
>
>
> Steps:
> 1. create table with regions.
> 2. insert some amount of data in such a way that make some Hfiles which is lessthan min.compacted
files size (say 3 hfiles are there but min compaction files 10)
> 3. from ui perform compact operation on the table.
> "TABLE ACTION REQUEST Accepted" page is displayed
> 4. operation is failing becoz compaction criteria is not meeting. but from ui compaction
requests are continously sending to server.  This happens using IE(history.back() seems to
resend compact/split request). Firefox seems Ok in this case.
> 5. Later no automatic redirection to main hamster page occurs.
> SOLUTION:
> table.jsp in hbase master.
> The meta tag for HTML contains refresh with javascript:history.back().
> A javascript cannot execute in the meta refresh tag like above in table.jsp and snapshot.jsp
> <meta http-equiv="refresh" content="5,javascript:history.back()" />
> This will FAIL.
> W3 school also suggests to use refresh in JAVAscript rather than meta tag.
> If above meta is replaced as below, the behavior is OK verified for IE8/Firefox.
>   <script type="text/javascript">
>   <!--
>   setTimeout("history.back()",5000);
>   -->
>   </script>
> Hence in table.jsp and snapshot.jsp, it should be modified as above.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message