You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Dávid Paksy (Jira)" <ji...@apache.org> on 2026/01/06 14:06:00 UTC

[jira] [Commented] (HBASE-29768) Error occurs when clicking View L2 block cache as json in UI

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

Dávid Paksy commented on HBASE-29768:
-------------------------------------

Hi [~guluo],

Is this Jira ticket still valid? If not can we close this?

> Error occurs when clicking View L2 block cache as json in UI
> ------------------------------------------------------------
>
>                 Key: HBASE-29768
>                 URL: https://issues.apache.org/jira/browse/HBASE-29768
>             Project: HBase
>          Issue Type: Bug
>          Components: BlockCache, UI
>            Reporter: guluo
>            Assignee: Dávid Paksy
>            Priority: Major
>         Attachments: image-2025-12-10-12-59-22-533.png, screenshot-1.png
>
>
> When L2 BlockCache is enabled, opening the RegionServer’s L2 BlockCache UI and clicking `View block cache as JSON` will cause the following errors.
> Caused by:
> org.apache.hbase.thirdparty.com.google.gson.JsonIOException: Failed making field 'java.security.AccessControlContext#context' accessible; either increase its visibility or write a custom TypeAdapter for its declaring type.
> See https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible
> at org.apache.hbase.thirdparty.com.google.gson.internal.reflect.ReflectionHelper.makeAccessible(ReflectionHelper.java:76)
> at org.apache.hbase.thirdparty.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:388)
> at org.apache.hbase.thirdparty.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:161)
> at org.apache.hbase.thirdparty.com.google.gson.Gson.getAdapter(Gson.java:628)
> at org.apache.hbase.thirdparty.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:201)
> at org.apache.hbase.thirdparty.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:395)
> at org.apache.hbase.thirdparty.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:161)
> at org.apache.hbase.thirdparty.com.google.gson.Gson.getAdapter(Gson.java:628)
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)