You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Samir Ahmic (JIRA)" <ji...@apache.org> on 2016/02/23 11:22:18 UTC

[jira] [Commented] (HBASE-15311) Prevent NPE in BlockCacheViewTmpl

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

Samir Ahmic commented on HBASE-15311:
-------------------------------------

We have issue on this line
{code}
48             if (bcs.length < 2) {
{code}
since bcs can be null. I will fix this and submit patch.

> Prevent NPE in BlockCacheViewTmpl
> ---------------------------------
>
>                 Key: HBASE-15311
>                 URL: https://issues.apache.org/jira/browse/HBASE-15311
>             Project: HBase
>          Issue Type: Sub-task
>          Components: UI
>    Affects Versions: 2.0.0
>            Reporter: Samir Ahmic
>            Assignee: Samir Ahmic
>
> Currently we have this URL (rs-status?format=json&bcn=L1) for displaying block cache stats in json format. If arbitrary parameter is supplied instead of L1 it will cause NPE and we will display 500 error.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)