You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "guluo (Jira)" <ji...@apache.org> on 2025/12/10 11:26:00 UTC

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

guluo created HBASE-29768:
-----------------------------

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


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)